Description
Jest config requires 80% coverage but many modules fall below. Add tests to meet coverage thresholds.
Files to Modify
- backend/tests/**/*.test.ts (various)
- backend/jest.config.js
Definition of Done
- Branch coverage >= 80%
- Function coverage >= 80%
- Line coverage >= 80%
- Statement coverage >= 80%
- All critical paths tested
- Edge cases covered
- Error handling tested
Acceptance Criteria
- npm run test:ci exits with code 0
- Coverage report shows all metrics >= 80%
- No skipped tests without documented reason
- Mock external dependencies appropriately
Description
Jest config requires 80% coverage but many modules fall below. Add tests to meet coverage thresholds.
Files to Modify
Definition of Done
Acceptance Criteria