-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
29 lines (28 loc) · 845 Bytes
/
vitest.config.ts
File metadata and controls
29 lines (28 loc) · 845 Bytes
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
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
reporters: 'verbose',
coverage: {
// enabled: true,
provider: 'istanbul',
clean: true,
all: false,
reporter: ['html', 'text', 'lcov', 'json'],
exclude: [
'_snapshots_',
'.eslint*',
'.prettier*',
'**/*.test.*',
'bin.mjs',
'dist',
'**/fixtures/**',
'**/fixtures/sample/lib/*.js',
'**/*.d.mts',
'**/*.d.ts',
'vitest*',
],
},
include: ['src/**/*.test.{ts,mts}'],
exclude: ['content/**', 'fixtures/**', 'fixtures/**/*.js', 'bin.mjs', '_snapshots_'],
},
});