Packages

@vitest/coverage-v8

5.1.0 · 2 Nov 2026MIT66.8M / weekRepositoryHomepagenpmAtom feed

Your version

5.1.1

18 Nov 2026Where it was published

In short

2 faster18 fixed

Release note

The section about @vitest/coverage-v8 of a note shared by several packages.

Bug Fixes

  • Rerun on file changes after a config restart

  • Avoid leaking the context expect

  • Report fixture teardown errors once

  • Improve diffs for asymmetric matchers

  • Apply --shard before the test run starts

  • Reset local expect state between retries for expect.assertions/hasAssertions

  • Sort test files before the seeded shuffle

  • Tear down fixture contexts one at a time

  • Count merged errors in the error divider

  • Match - and . in noExternal wildcards

  • Give each test attempt a new signal

  • Throw timeout error classes instead of Error

  • browser: Scale the iframe for preview without the UI

  • browser: Fix expect.element with message and remove redundant [ERROR] in trace steps

  • cache: Always leave a manifest to the fs module cache

  • cache: Watch cached files outside the root

  • cache: Treat a removed cache file as a miss

  • cache: Allow cache hits in configureServer

Performance

  • Send source maps to workers as a string

  • Resolve CLI file filters once instead of per test file

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.