New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
The coverage number in my terminal says 40%. My CI job still turns green.
What you'll have at the end
A coverage threshold that exits red the moment coverage drops below it, proven with one deliberate drop
You need
A Vitest suite with coverage already turned on and printing a report on every run, testing a checkout module's discount math but never importing a separate, completely untested receipt-formatting file, with no coverage floor configured yet.
Not covered
Enforcing the same floor on every single file rather than the whole project's average, a stricter setting worth reaching for once the team already trusts the project-wide gate.
Leans on
Checked 25 Aug 2026
Part of the Vitest Testing Framework cookbook