Finding
ID: CI-3 | Severity: π MEDIUM
vitest.config.ts has thresholds: { lines: 50 } β only line coverage, only 50%. No branch, function, or statement thresholds. CI passes even if half the codebase is uncovered.
Fix Required
Update vitest.config.ts to:
thresholds: { lines: 70, branches: 60, functions: 70, statements: 70 }
Files: vitest.config.ts
Acceptance Criteria
CI fails when coverage drops below the new thresholds.
Milestone
M-E4: Reliability & Robustness
Finding
ID: CI-3 | Severity: π MEDIUM
vitest.config.tshasthresholds: { lines: 50 }β only line coverage, only 50%. No branch, function, or statement thresholds. CI passes even if half the codebase is uncovered.Fix Required
Update
vitest.config.tsto:Files:
vitest.config.tsAcceptance Criteria
CI fails when coverage drops below the new thresholds.
Milestone
M-E4: Reliability & Robustness