
Upgrade to Vitest 5 without letting the agent weaken your tests to get green
Vitest 5 changes what some passing tests mean, and 'make the suite pass' invites the cheapest fix. A baseline, a test-only rule and a short gate script keep the upgrade honest. About 20 minutes on one project.
12 min read

