Packages

vitest

5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed

Your version

0.4.0

18 Feb 2022Where it was published

0.34.6 is the newest release of 0.4.x.

In short

3 new4 fixed

Security

1 advisory affects 0.4.0; 3.2.6 fixes them

Release note

Bug Fixes

  • Fix error if toMatchInlineSnapshot is called on resolves/rejects

  • Flush coverage after every test file (fix #771)

  • Put envs from .env files on process.env

  • Set mode before running Vite

Features

  • Add VITEST_WORKER_ID env

  • Allow reassigning define globals

  • Coverage threshold

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.