Packages

@vitest/expect

5.0.5 · 15 Oct 2026MIT151.9M / weekRepositoryHomepagenpmAtom feed

Your version

1.1.2

4 Jan 2024Where it was published

1.6.1 is the newest release of 1.x.

In short

10 fixed2 internal

Release note

Bug Fixes

  • Remove internal flag from UI option in the config

  • browser: Avoid safaridriver collision

  • browser: Resolved failure to find arbitrarily-named snapshot files when using expect(...).toMatchFileSnapshot() matcher.

  • browser: Handle config.base

  • runner: Fix fixture cleanup for concurrent tests

  • spy: Don't allow Promise in mockImplementation if it's not in the function signature

  • vite-node: Correctly return cached result

  • vitest: Throw an error if mock was already loaded when vi.mock is called

  • vitest: Correctly rerun test files on change if server was restarted

  • vm-threads: Don't crash on percentage based memoryLimit