-
Notifications
You must be signed in to change notification settings - Fork 18
/
vitest.config.js
32 lines (30 loc) · 975 Bytes
/
vitest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
coverage: {
provider: 'v8',
reporter: ['text', 'lcov', 'html'],
exclude: [
'**/*.config.*',
'**/*.d.ts',
'benches/**',
'scripts/**',
'examples/**',
'testcases/**',
'packages/browserfs/**',
'packages/cli/**',
'packages/ide/**',
'packages/playground/**',
/**
* Specific files to exclude
*/
'packages/shared/src/imports.ts',
'packages/shared/src/timing.ts',
'packages/shared/src/types.ts',
'packages/unminify/src/transformations/prettier.ts',
'packages/unminify/src/transformations/prettier.ts',
],
},
},
})