finds.dev

vitest-dev/vitest

Next generation testing framework powered by Vite.

View on GitHubHomepage ↗

★ 17,268TypeScriptMITupdated Oct 2026

// compared · Jest, Vitest, or Mocha: The Best JS Unit Testing FrameworksSee the alternatives →

// the take

Vitest is a Vite-native test runner that's become the default choice for Vite-based projects and increasingly a Jest replacement for any Node/browser JS codebase. It targets frontend and full-stack JS/TS developers who want fast feedback loops and config reuse with their Vite setup.

Reuses Vite's transform pipeline so there's no separate babel/webpack config to maintain for tests, and watch mode is genuinely HMR-fast rather than re-running the whole suite. Jest-compatible API (expect, mocks, snapshots) makes migration mostly mechanical. Browser Mode running real tests in actual browsers via Playwright/WebdriverIO is a real differentiator over jsdom-only runners. Native V8 coverage support avoids the Istanbul instrumentation tax.

Tight coupling to Vite's release cadence means breaking changes ripple in faster than people expect, and this repo now requires fairly recent Vite/Node versions which can strand projects stuck on older toolchains. The ecosystem around it (custom reporters, some mocking edge cases with hoisting) still has sharp edges compared to Jest's decade of accumulated plugins. Monorepo/workspace configuration (projects) is powerful but documentation complexity has grown substantially — it's not a five-minute setup anymore for non-trivial repos.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

search the same ground:

// at a glance

Stars
17,268
Forks
2,092
Language
TypeScript
License
MIT
Last commit
20 Oct 2026

// nearby

If vitest isn't quite it.

All repos →