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