Vite-native test runner with instant watch mode and a Jest-compatible API.
Vitest reuses your Vite config and transform pipeline, so the code your tests run is the code your bundler produces — no separate Babel setup to keep in sync. It is API-compatible with Jest for most usage, adds native ESM and TypeScript support, and its watch mode re-runs only the affected tests in milliseconds. Browser mode runs component tests in a real browser rather than jsdom.
Best for
Free and open source
Open sourceFree tier: Everything, self-hosted
What drives the bill: Free and open source. You pay in engineering time and CI minutes.
Check current pricing on VoidZero / OSS community’s siteFigures are indicative and were last reviewed August 2026. Vendors change pricing often; confirm before you commit.
No reviews of Vitest yet. If you have used it in anger, yours would be the first.
If Vitest is not the right fit, these solve the same problem differently.
Unit & Component
The JavaScript testing incumbent: batteries included, snapshots, huge ecosystem.
Unit & Component
Minimal, unopinionated Node.js test runner you assemble to taste.
Unit & Component
Node.js's built-in test runner. Zero dependencies, already installed.
Unit & Component
Behaviour-driven JavaScript testing framework with no external dependencies.