Vitest
Blazing-fast unit test framework powered by Vite
Vitest 5 is in bug-fix mode: the second RC is almost entirely hardening
◆Recent moves
- 1d ago
Vitest 5 rc.2: browser mode stops hanging, snapshots work under strict CSP
A hardening candidate rather than a feature one. The v5 API surface is settled and the work has moved to browser-mode failure handling, worker exit reporting, and running snapshots under a no-unsafe-eval CSP.
View source ↗ - 7d ago
Vitest 5 RC: nested projects, shared Vite server, unawaited assertions fail
The first candidate, which brought nested projects, a shared Vite server, and unawaited assertions becoming failures — the last cut that changed the v5 surface.
View source ↗ - 25d ago
Vitest 5 beta.7: config resolution split out, pluggable benchmark providers
Beta 7 split config resolution into its own step and made benchmark providers pluggable, part of the structural work v5 is built on.
View source ↗ - 1mo ago
Vitest 5 beta.6: mocks clear by default, webdriverio removed, vi.when() added
Beta 6 flipped mocks to clear by default, dropped webdriverio, and added vi.when() — one of the breaking-default cuts of this cycle.
View source ↗ - 2mo ago
Vitest 5 beta.5: no ancestor config lookup, @vitest/runner inlined
Beta 5 removed ancestor config lookup and inlined @vitest/runner, continuing the config and packaging cleanup.
View source ↗ - 2mo ago
Vitest 5 beta.4: benchmark API rewritten, strict hoisting and locators
Beta 4 rewrote the benchmark API and tightened hoisting and locators, opening the run of breaking changes v5 is built around.
View source ↗