Packages

vitest

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

Your version

0.8.5

6 Apr 2022Where it was published

0.34.6 is the newest release of 0.8.x.

In short

2 new12 fixed

Security

1 advisory affects 0.8.5; 3.2.6 fixes them

Release note

Bug Fixes

  • mock-api: provide an explainatory error message when the mocks API hoisting doesn't work

  • Don't reexport vi utils from vitest

  • Exported configDefaults has right type

  • Fix duration when fake timers are enabled

  • Get taskId before scheduling console

  • Hide ignored stacktrace on windows

  • Really disable deps optimization

  • Rerun tests on --changed, if test was changed

  • logs: collect logs per test

  • ui: a11y + codemirror scrolls + minor addons

  • ui: hide native codemirror scrolls on firefox

  • Typescript allows new Spy, add lastCall support for spy

Features

  • Add resolveSnapshotPath option

  • Show all spy calls on assertion error

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.