StackFollow on WhatAreYouBuilding.AI

Vitest

Vite-native unit testing framework with a Jest-compatible API.

https://vitest.dev

Update history

Major releaseBreakingSep 3, 2026
Vitest 5 overhauls config, mocking, and reporting defaults

Vitest 5 adds features like typescript build mode, pluggable benchmark providers, dom snapshot trace views, and merged reports for non-sharded multi-environment runs, alongside performance work and long-standing bug fixes. This is a breaking release: it now requires Node.js 22 and Vite 6.4, removes the sequential test/suite options and deprecated entry points, changes default output directories for attachments, reporters, and screenshots to .vitest paths, clears mocks by default before each test, and now fails tests when async assertions aren't awaited or expect.poll doesn't resolve in time, so projects must update configs, Node/Vite versions, and any code relying on old defaults or removed APIs.

Matters for: Teams running large Vitest suites with browser mode, benchmarking, or multi-environment sharded test runs across CI pipelines.

Get the badge

Show that Vitest is tracked on StackFollow in your project's README.

Vitest tracked on StackFollow
[![Tracked on StackFollow](https://stackfollow.xyz/api/badge/vitest)](https://stackfollow.xyz/tools/vitest)
Vitest notable updates - StackFollow