-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
38 lines (36 loc) · 1.15 KB
/
vitest.config.ts
File metadata and controls
38 lines (36 loc) · 1.15 KB
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
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html', 'lcov'],
exclude: [
'node_modules/',
'dist/',
'tests/',
'**/*.config.ts',
'**/*.test.ts',
'**/types.ts',
'src/cli/**', // CLI tested via integration
'src/index.ts',
'src/**/index.ts', // Exclude barrel exports
'src/batch/**', // Batch requires full integration
'src/project/project-mapper.ts', // Project mapping tested via integration (v0.7.0)
'src/project/project-detector.ts', // Project detection tested via integration
'src/output/fulltext-generator.ts', // Complex LLM integration
'src/llm/providers/**', // Provider implementations tested via integration
],
include: ['src/**/*.ts'],
thresholds: {
lines: 75,
functions: 75,
branches: 65,
statements: 75,
},
},
include: ['tests/**/*.test.ts'],
exclude: ['node_modules', 'dist'],
},
});