Packages

@vitest/spy

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

Your version

4.0.8

7 Nov 2025Where it was published

4.1.12 is the newest release of 4.x.

In short

9 fixed

Release note

Bug Fixes

  • Workaround noExternal merging bug on Vite 6

  • Missed context.d.ts file

  • Incorrect error message for non-awaited expect.element()

  • browser: Cleanup frame-ancestors from CSP header at coverage middleware

  • deps: Update all non-major dependencies

  • forks: Do not fail with Windows Defender enabled

  • runner: Properly encode Uint8Array body in annotations

  • spy: Copy static properties if spy is initialised with vi.fn(), fix types for vi.spyOn(obj, class)

  • webdriverio: When no argument is passed to the .click interaction command, the webdriver command should also have no argument