build1 distinct publisher
Vitest 5.0 wipes recorded mock calls before every test by default
The new default runs vi.clearAllMocks() ahead of each test, so calls recorded in a setup file or a beforeAll hook are gone before the assertion looks for them, and the floor moves to Vite 6.4 and Node 22.12.
Publishers:vitest.dev
Reality
- Evidence74
- Adoption
- Insufficient
- Hype gap−15
- Incentives34
- Confidence