Packages

@vitest/spy

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

Your version

0.27.1

11 Jan 2023Where it was published

0.34.7 is the newest release of 0.27.x.

In short

4 new9 fixed

Release note

Features

  • Show error, when process.exit is called

  • Add more information about unhandler error

  • Display running processes, if vitest closes with timeout

Bug Fixes

  • Type issue with spyOn method

  • Add missing types in TS project when global is true

  • Always report failed test in junit reporter

  • Change Vite root, if test.root is used

  • Don't use ownKeys, when interoping a module

  • Cut duplicate error in negated toHaveBeenCalled

  • Always update last HMR ms on a module

  • Terminate workers, when closing process

  • coverage: Prevent c8 from crashing on invalid sourcemaps

  • coverage: Istanbul provider to use coverage.extension