-
-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathvitest.config.ts
More file actions
36 lines (35 loc) · 981 Bytes
/
vitest.config.ts
File metadata and controls
36 lines (35 loc) · 981 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
30
31
32
33
34
35
36
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['test/**/*.test.ts'],
exclude: [
'dist', '.idea', '.git', '.cache', 'lib',
'**/node_modules/**'
],
testTimeout: 15 * 1000,
coverage: {
enabled: true,
exclude: [
'**/build/**',
'**/__fixtures__/**',
'**/__mocks__/**',
'**/*.test.ts',
'lib',
'test-types',
'.eslintrc.cjs',
'jasmine.d.ts',
'jest.d.ts',
'types',
'eslint.config.mjs',
'vitest.config.ts',
'types-checks-filter-out-node_modules.js',
],
thresholds: {
lines: 88,
functions: 86,
statements: 88,
branches: 79,
}
}
}
})