1 Star 0 Fork 437

让风吹去阴影/element-plus

forked from element-plus/element-plus 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
vitest.config.mts 802 Bytes
Copy Edit Raw Blame History
btea authored 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/wang-peiao/element-plus.git
git@gitee.com:wang-peiao/element-plus.git
wang-peiao
element-plus
element-plus
dev

Search

0d507c66 1850385 C8b1a773 1850385