diff --git a/vite.config.ts b/vite.config.ts index 150b407..25186eb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,8 +11,16 @@ export default defineConfig({ reporter: ['text', 'json', 'html'], include: ['src/**/*.{ts,svelte}'], exclude: ['src/**/*.test.ts', 'src/**/*.spec.ts'], + // Coverage thresholds - starting baseline, target is 80% (CI-01 decision) + // Current: statements ~12%, branches ~7%, functions ~24%, lines ~10% + // These thresholds prevent regression and will be increased incrementally thresholds: { - autoUpdate: true + global: { + statements: 10, + branches: 5, + functions: 20, + lines: 8 + } } }, projects: [