We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca0562 commit cca0e8bCopy full SHA for cca0e8b
1 file changed
vitest.config.ts
@@ -2,10 +2,21 @@ import { defineConfig } from 'vitest/config';
2
3
export default defineConfig({
4
test: {
5
- environment: 'node',
6
globals: true,
7
- },
8
- resolve: {
9
- extensions: ['.ts', '.js'],
+ environment: 'node',
+ coverage: {
+ enabled: true,
+ reporter: ['text'],
10
+ include: ['src/**/*.ts'],
11
+ exclude: ['src/**/*.d.ts'],
12
+ thresholds: {
13
+ global: {
14
+ branches: 80,
15
+ functions: 80,
16
+ lines: 80,
17
+ statements: 80
18
+ }
19
20
+ },
21
},
22
});
0 commit comments