-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvitest.config.mts
More file actions
34 lines (33 loc) · 779 Bytes
/
vitest.config.mts
File metadata and controls
34 lines (33 loc) · 779 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
// eslint-disable-next-line import/no-unresolved
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
watch: false,
maxWorkers: 1,
isolate: false,
environment: 'node',
fileParallelism: false,
reporters: ['verbose'],
exclude: ['**/node_modules/**', '**/dist/**'],
coverage: {
include: ['lib/**/*.ts'],
exclude: [
'node_modules/',
'coverage/',
'test',
'lib/memory/NoopCache.ts',
'lib/types',
'lib/notifications/GroupNotificationPublisher.ts',
],
reporter: ['lcov', 'text'],
all: true,
thresholds: {
lines: 100,
functions: 97,
branches: 95,
statements: 100,
},
},
},
})