-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
vitest.config.ts
40 lines (39 loc) · 1.05 KB
/
vitest.config.ts
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
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['./packages/**/(tests|src)/**/*.test.ts'],
coverage: {
thresholds: {
lines: 50,
statements: 50,
functions: 50,
branches: 50
},
exclude: [
'packages/service/src/types.ts',
'packages/visual-reporter/',
'packages/visual-remix-reporter/',
'.eslintrc.cjs',
'tests/**',
'**/*.interfaces.ts',
'**/storybookTypes.ts',
'**/apps/**',
'**/dist/**',
'**/resemble/**',
'eslint.config.cjs',
'vitest.config.ts',
'.tmp/**',
]
},
/**
* not to ESM ported packages
*/
exclude: [
'dist',
'.idea',
'.git',
'.cache',
'**/node_modules/**',
]
}
})