Join us on Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
The backend coverage thresholds in backend/vitest.config.ts were 60% (added in #373) but the suite only covers ~50% of lines/statements and ~46% of functions, so the coverage gate failed every CI run regardless of test outcomes. As a stopgap the thresholds were lowered to a ratchet floor at current coverage so CI is green and can't regress. This issue tracks adding tests to climb back to 60% and restoring the thresholds.
Acceptance criteria
Files to touch
backend/vitest.config.ts (restore thresholds)
- new/expanded tests under
backend/tests/ and backend/src/__tests__/
Out of scope
- Frontend or contract coverage
Join us on Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
The backend coverage thresholds in
backend/vitest.config.tswere 60% (added in #373) but the suite only covers ~50% of lines/statements and ~46% of functions, so the coverage gate failed every CI run regardless of test outcomes. As a stopgap the thresholds were lowered to a ratchet floor at current coverage so CI is green and can't regress. This issue tracks adding tests to climb back to 60% and restoring the thresholds.Acceptance criteria
thresholdsinbackend/vitest.config.tsto 60 across the boardnpx vitest run --coveragepasses with the 60% thresholdsFiles to touch
backend/vitest.config.ts(restore thresholds)backend/tests/andbackend/src/__tests__/Out of scope