Vitest 3.0 Released: Vite 6 Support and a New Reporter API
Vitest 3.0 added support for Vite 6, inline workspace configuration, a new reporter API, line-number test filtering, and matchers such as toBeOneOf and toHaveBeenCalledExactlyOnceWith.
Historical Archive. This article documents an event from 2025 and is preserved with its original date for reference. It is not current news, and details may have changed since publication.
What happened
Vitest 3.0 was released on January 16, 2025, according to the official GitHub release notes. Vitest is a fast unit-testing framework powered by Vite, and version 3.0 shipped with a few breaking changes that the maintainers expected to migrate smoothly.
Vite 6 and workspaces
The headline was support for Vite 6, keeping Vitest aligned with its underlying build tool. The release also allowed inline workspace configuration so projects no longer needed a separate workspace file, made extends: true correctly inherit all root config properties, and let the test context inject values from the config's provide option.
New reporter API and filtering
Vitest 3.0 introduced a new reporter API and added resolved project names to it, printing project names as labels. On the command line it added support for filtering tests by line number and for suites by location, and for excluding projects with a negated --project pattern. It also added a queued test state and an onTestsRerun method to the global setup context.
New matchers and browser mode
The release added several expect matchers, including toHaveBeenCalledExactlyOnceWith, toHaveBeenCalledBefore and toHaveBeenCalledAfter, toSatisfy and toBeOneOf, along with a describe.for helper. Browser mode gained clipboard-API support for userEvent copy, cut and paste, a locator.nth method, and multi-browser configuration.
Why it mattered
Vitest 3.0 kept one of the fastest-growing JavaScript testing frameworks current with Vite 6 while smoothing configuration through inline workspaces and expanding its matcher and reporter APIs. The line-number filtering and richer browser mode continued Vitest's push to be a complete, modern testing solution.
Related on Skillo
See also: Vitest 2.0 and the forks pool.
Sources
Published date reflects the original event date (2025-01-16). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.
Written by
Skillo Staff
0 Comments
Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.