-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvitest.config.ts
More file actions
42 lines (41 loc) · 1.27 KB
/
vitest.config.ts
File metadata and controls
42 lines (41 loc) · 1.27 KB
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
33
34
35
36
37
38
39
40
41
42
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['packages/*/tests/**/*.test.ts'],
coverage: {
enabled: true,
provider: 'v8',
include: ['packages/*/src/**/*.ts', 'packages/*/src/**/*.js'],
thresholds: {
lines: 86.5,
functions: 92.5,
statements: 85.5,
branches: 78.0,
'packages/cddl/**/*': {
lines: 96.0,
functions: 97.5,
statements: 96.0,
branches: 93.0,
},
'packages/cddl2ts/**/*': {
lines: 74.4,
functions: 87.1,
statements: 71.3,
branches: 63.4,
},
'packages/cddl2java/**/*': {
lines: 97.7,
functions: 94.8,
statements: 97.1,
branches: 91.5,
},
'packages/cddl2py/**/*': {
lines: 87.5,
functions: 100.0,
statements: 88.0,
branches: 83.5,
}
}
}
}
})