@vitest/spy
5.0.5 · 15 Oct 2026MIT202.7M / weekRepositoryHomepagenpmAtom feed
1.6.1 is the newest release of 1.x.
In short
1 new13 fixed
Release note
Features
api:
startVitest()to acceptstdoutandstdinThis is listed as a feature, but it doesn't increase the minor version because
startVitestAPI is experimental and doesn't follow semver.
Bug Fixes
Close vite servers on all resolved projects
Fix default
import.meta.env.PROD: falseResolve cwd correctly when initiating projects
Always run
onTestFinishedin reverse orderbrowser: Disable
fileParallelismby default on browser poolbrowser: Dispose tester iframe on done
coverage: Fix bundling of
v8-to-istanbulcoverage: Prevent crash when
cleanOnRerunis disabledcoverage:
thresholdsto compare files relative to rootexpect: Fix
toEqualandtoMatchObjectwith circular referencesvitest: Fix false positive file filter match with leading slash
vitest: Watch the output directory correctly
vitest: StubEnv casts boolean on PROD/SSR/DEV