Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ reports/
dist/
playwright-report/
test-results/
coverage/

# OS
.DS_Store
Expand Down
15 changes: 8 additions & 7 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@ export default defineConfig({
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: ['src/**/*.ts', '!src/**/*.d.ts'],
include: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'],
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/e2e/**',
'**/*.config.*',
'**/__tests__/**',
// Exclude low-level WASM/Worker glue code that is difficult to unit test in JSDOM
'src/db/client.ts',
'src/db/db-worker.ts',
'src/lib/llm/**',
'src/features/**',
],
branches: 70,
functions: 70,
lines: 70,
statements: 70,
// Thresholds are set to reflect the broad inclusion of UI/feature modules
// while maintaining a baseline for future growth.
branches: 14,
functions: 16,
lines: 25,
statements: 24,
},
},
resolve: {
Expand Down
Loading