Packages

@vitest/expect

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

Your version

2.1.5

13 Nov 2024Where it was published

2.1.9 is the newest release of 2.x.

In short

1 removed1 faster16 fixed

  • removed

    ui: Remove crossorigin attributes for same origin assets

Release note

Bug Fixes

  • dangerouslyIgnoreUnhandledErrors without base reporter

  • Capture unhandledRejection even when base reporter is not used

  • Don't change the working directory when loading workspace projects

  • Remove sequence.concurrent from the RuntimeConfig type

  • Stop the runner before restarting, restart on workspace config change

  • Don't rerun on Esc or Ctrl-C during watch filter

  • Print ssrTransform error

  • Throw an error and a warning if .poll, .element, .rejects/.resolves, and locator.* weren't awaited

  • browser: Don't process the default css styles

  • browser: Support non US key input

  • browser: Stop the browser rpc when the pool is closed

  • browser: Init browsers eagerly when tests are running

  • coverage: Report uncovered files when re-run by enter or 'a'

  • removed

    ui: Remove crossorigin attributes for same origin assets

  • vite-node: Improve esm check to decide external

  • vite-node: Top-level throw in module is not reported properly

  • vitest: Use fetch() implementation from happy-dom

Performance

  • Limit workspace project concurrency to available cores