Packages

@vitest/spy

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

Your version

3.2.4

17 Jun 2025Where it was published

3.2.7 is the newest release of 3.x.

In short

13 fixed

Release note

Bug Fixes

  • Use correct path for optimisation of strip-literal

  • Print uint and buffer as a simple string

  • browser: Show a helpful error when spying on an export

  • cli: vitest run --watch should be watch-mode

  • cli: Use absolute path environment on Windows

  • cli: Throw error when --shard x/<count> exceeds count of test files

  • coverage: Ignore SCSS in browser mode

  • deps: Update all non-major dependencies - in #8123

  • expect: Handle async errors in expect.soft

  • pool: Auto-adjust minWorkers when only maxWorkers specified

  • reporter: task.meta should be available in custom reporter's errors

  • runner: Preserve handler wrapping on extend

  • ui: Ensure ui config option works correctly