Packages

@vitest/spy

5.0.5 · 15 Oct 2026MIT202.7M / weekRepositoryHomepagenpmAtom feed

Your version

1.5.1

24 Apr 2024Where it was published

1.6.1 is the newest release of 1.x.

In short

1 new13 fixed

Release note

Features

  • api: startVitest() to accept stdout and stdin

    • This is listed as a feature, but it doesn't increase the minor version because startVitest API is experimental and doesn't follow semver.

Bug Fixes

  • Close vite servers on all resolved projects

  • Fix default import.meta.env.PROD: false

  • Resolve cwd correctly when initiating projects

  • Always run onTestFinished in reverse order

  • browser: Disable fileParallelism by default on browser pool

  • browser: Dispose tester iframe on done

  • coverage: Fix bundling of v8-to-istanbul

  • coverage: Prevent crash when cleanOnRerun is disabled

  • coverage: thresholds to compare files relative to root

  • expect: Fix toEqual and toMatchObject with circular references

  • vitest: Fix false positive file filter match with leading slash

  • vitest: Watch the output directory correctly

  • vitest: StubEnv casts boolean on PROD/SSR/DEV