Packages

@vitest/expect

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

Your version

5.0.3

30 Sep 2026Where it was published

5.0.5 is the newest release of 5.x.

In short

18 fixed

Release note

Bug Fixes

  • Isolate result.status between repeats runs

  • Don't print an interceptor warning in browser mode

  • Don't retry when test.fails expectedly failed

  • Scope cache key generators to projects

  • browser: Delay server listen until tests start running

  • browser: Check mock path boundaries

  • browser: Keep config of browser-consumed environments

  • browser: Ignore page crash while cancelling

  • browser: toMatchScreenshot uses wrong reference on retried tests

  • cache: Revalidate imports of cached modules

  • deps: Pin why-is-node-running to 3.2.1 to avoid users running into ERR_PNPM_TRUST_DOWNGRADE

  • expect: Pass current equality testers to expect.extend asymmetric matchers

  • jsdom: Support Blob on jsdom 30.1

  • pool: Preserve unique pool ids when groupOrder is set

  • ui: Split-pane handle overlapping iframe

  • vitest: Remove root temp dir on close

  • vm: Do not optimize deps from index.html

  • vm: Don't reuse scripts across vite environments