import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { include: ['src/**/*.test.ts', 'test/**/*.test.ts'], environment: 'node', coverage: { provider: 'v8', reporter: ['text', 'html', 'lcov'], include: ['src/services/**', 'src/lib/**'], exclude: ['**/*.test.ts', '**/types.ts'], // No thresholds today — the coverage report is a signal, not a gate. // Most services still lack unit tests; add a threshold once they do. }, }, });