-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
41 lines (40 loc) · 1004 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
41 lines (40 loc) · 1004 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
37
38
39
40
41
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['src/**/*.test.ts', 'tests/**/*.test.ts'],
exclude: ['node_modules', 'dist', 'coverage', 'infra'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html', 'lcov'],
exclude: [
'node_modules',
'dist',
'coverage',
'infra',
'**/*.d.ts',
'**/*.config.ts',
'tests/**/*.ts',
'src/index.ts',
'src/observability/otel.ts',
'src/observability/index.ts',
'src/types/index.ts',
'src/config/env.ts',
'src/session/firestoreClient.ts',
'src/mcp-server/orchestrator.mcp.ts',
'eslint.config.mjs',
],
thresholds: {
global: {
statements: 79,
branches: 79,
functions: 79,
lines: 79,
},
},
},
testTimeout: 30000,
hookTimeout: 30000,
},
});