-
Notifications
You must be signed in to change notification settings - Fork 12
/
vitest.conf.ts
40 lines (39 loc) · 913 Bytes
/
vitest.conf.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
/// <reference types="vitest" />
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['tests/**/*.test.ts'],
exclude: [
'dist', '.idea', '.git', '.cache',
'**/node_modules/**', 'examples/**'
],
coverage: {
reporter: ['lcov'],
enabled: true,
include: [
'src/**'
],
exclude: [
'**/build/**',
'**/__fixtures__/**',
'**/*.test.ts',
'**/__mocks__/**',
'**/.wdio-vscode-service/**',
'**/node_modules/**',
'**/__generated__/**',
'**/__generated-platform__/**',
// ignore until we bring up coverage
'src/client',
// vendored code
'src/utils/deno',
'src/extension/wasm',
],
thresholds: {
statements: 43,
branches: 80,
functions: 32,
lines: 43,
}
}
}
})