Packages

@vitest/spy

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

Your version

0.27.0

9 Jan 2023Where it was published

0.34.7 is the newest release of 0.27.x.

In short

1 breaking1 deprecated1 new1 faster7 fixed

  • breaking

    Split vitest into separate packages, but still bundle them for the time being

  • deprecated

    Deprecate "error" on result, store errors in "errors"

Release note

Breaking Changes

  • deprecated

    Deprecate "error" on result, store errors in "errors"

  • breaking

    Split vitest into separate packages, but still bundle them for the time being

Features

  • coverage: report only changed files when using istanbul coverage with watch mode

Bug Fixes

  • Return mock path only when mocked

  • Allow mocking CJS module with interoped default

  • Avoid random ENOTEMPTY errors

  • Always inline assets and modules with special Vite queries

  • cli: Allow overrides reporter via cli option

  • coverage: Flaky c8 coverage caused by parallel sourcemap constructing

  • coverage: Validate extension, when reporting c8 coverage

Performance

  • Improve vi.mock performance