Packages

@vitest/expect

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

Your version

4.1.1

23 Mar 2026Where it was published

4.1.12 is the newest release of 4.x.

In short

2 new17 fixed

Release note

Features

  • experimental: Expose matchesTags to test if the current filter matches tags

  • experimental: Introduce experimental.vcsProvider

Bug Fixes

  • Mark TestProject.testFilesList internal properly

  • Detect fixture that returns without calling use

  • Drop vite 8.beta support

  • Type regression in vi.mocked() static class methods

  • Properly re-evaluate actual modules of mocked external

  • Preserve coverage report when html reporter overlaps

  • Provide vi.advanceTimers to the preview provider

  • Don't leak event listener in playwright provider

  • Open browser in --standalone mode without running tests

  • Guard disposable and optional body

  • Resolve retry.condition RegExp serialization issue

  • collect: Don't treat extra props on test return as tests

  • coverage: Simplify provider types

  • coverage: Load built-in provider without module runner

  • expect: Soft assertions continue after .resolves/.rejects promise errors

  • expect: Fix sinon-chai style API

  • pretty-format: Limit output for large object