1 Star 0 Fork 437

Admin/element-plus

forked from element-plus/element-plus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vitest.config.mts 802 Bytes
一键复制 编辑 原始数据 按行查看 历史
btea 提交于 2024-05-06 10:02 . test: add coverage exlude (#16727)
import { defineConfig } from 'vitest/config'
import Vue from '@vitejs/plugin-vue'
import VueJsx from '@vitejs/plugin-vue-jsx'
import VueMacros from 'unplugin-vue-macros/vite'
export default defineConfig({
plugins: [
VueMacros({
setupComponent: false,
setupSFC: false,
plugins: {
vue: Vue(),
vueJsx: VueJsx(),
},
}),
],
optimizeDeps: {
disabled: true,
},
test: {
clearMocks: true,
environment: 'jsdom',
setupFiles: ['./vitest.setup.ts'],
reporters: ['default'],
testTransformMode: {
web: ['*.{ts,tsx}'],
},
coverage: {
reporter: ['text', 'json-summary', 'json'],
exclude: [
'play/**',
'packages/locale/lang/**',
'packages/components/*/style/**',
],
},
},
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wuhan-bridge-yard_0/element-plus.git
git@gitee.com:wuhan-bridge-yard_0/element-plus.git
wuhan-bridge-yard_0
element-plus
element-plus
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385