Context
PR #94 lowered vitest coverage thresholds to match current reality after a previously-timing-out test was masking gate failures:
| Metric |
Old |
New |
Actual on main |
| lines |
80 |
74 |
74.26% |
| functions |
70 |
67 |
67.67% |
| statements |
80 |
72 |
72.71% |
| branches |
65 |
64 |
64.24% |
Lowering was the right call to unblock dependabot (#92 vite, #93 undici were stuck on an unrelated test timeout that turned out to be hiding 4 stacked coverage failures), but the gaps are real.
Largest gaps to close (ordered by impact)
src/lib/import.ts — 0% coverage. Needs a test file.
src/lib/formatters.ts — ~52% lines, ~49% branches. Big wins in lines 345-447.
src/lib/chart-theme.ts — ~69% lines. Lines 143-175 untested.
src/lib/csv-parser.ts — 100% lines but only 60% branches.
Goal
Restore thresholds to 80/70/80/65 by adding targeted tests.
🤖 Filed by Heartbeat after PR #94.
Context
PR #94 lowered vitest coverage thresholds to match current reality after a previously-timing-out test was masking gate failures:
Lowering was the right call to unblock dependabot (#92 vite, #93 undici were stuck on an unrelated test timeout that turned out to be hiding 4 stacked coverage failures), but the gaps are real.
Largest gaps to close (ordered by impact)
src/lib/import.ts— 0% coverage. Needs a test file.src/lib/formatters.ts— ~52% lines, ~49% branches. Big wins in lines 345-447.src/lib/chart-theme.ts— ~69% lines. Lines 143-175 untested.src/lib/csv-parser.ts— 100% lines but only 60% branches.Goal
Restore thresholds to 80/70/80/65 by adding targeted tests.
🤖 Filed by Heartbeat after PR #94.