Problem
Coverage thresholds in frontend/vitest.config.js are far too low:
thresholds: {
lines: 2,
functions: 4,
branches: 2,
statements: 2
}
Actual coverage: 14.73% lines, 20.91% branches, 16.69% functions, 13.97% statements
These thresholds were set as a temporary workaround (PR #85) with autoUpdate: true to prevent CI from failing. This was acceptable as a starting point, but the thresholds should be raised incrementally.
Reference Plan
docs/COVERAGE-THRESHOLDS.md outlines a 4-phase plan:
- Phase 1: 2% → realistic baseline (current)
- Phase 2: 10% — quick wins in critical components
- Phase 3: 25% — core business logic covered
- Phase 4: 40% — production-ready (industry standard)
Acceptance Criteria
Aufwand
~1-2 days for Phase 2
Related
Problem
Coverage thresholds in
frontend/vitest.config.jsare far too low:Actual coverage: 14.73% lines, 20.91% branches, 16.69% functions, 13.97% statements
These thresholds were set as a temporary workaround (PR #85) with
autoUpdate: trueto prevent CI from failing. This was acceptable as a starting point, but the thresholds should be raised incrementally.Reference Plan
docs/COVERAGE-THRESHOLDS.mdoutlines a 4-phase plan:Acceptance Criteria
autoUpdate: trueonce at Phase 2Aufwand
~1-2 days for Phase 2
Related