Packages

@vitest/spy

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

Your version

0.27.3

21 Jan 2023Where it was published

0.34.7 is the newest release of 0.27.x.

In short

4 new10 fixed

Release note

Features

  • Throw unhandled exception, if code throws "error" event

  • New environmentMatchGlobs option to auto infer env based on glob

  • Add basic reporter which allow user to use reporter in ci

  • Improve "isCI" check

Bug Fixes

  • Show error in the terminal, if "only" flag is used

  • Cpu and heap profiling options for workers

  • Show correct number of tests in test summary

  • Don't terminate workers on Node 14 to not trigger fatal error

  • Allow custom async matchers

  • Remove setup files from coverage

  • reportCoverage context can be optional

  • ENOENT assets when htmldir exists

  • Correctly resolve paths relative to root, when used outside of root directory

  • typecheck: Store tmp tsconfig close to original one