-
Notifications
You must be signed in to change notification settings - Fork 16
/
vitest.conf.ts
42 lines (41 loc) · 993 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
41
42
/// <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',
'src/client/components/aws/**',
'src/client/components/gcp/**',
],
thresholds: {
statements: 43,
branches: 79,
functions: 32,
lines: 43,
}
}
}
})