Packages

@vitest/coverage-v8

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

Your version

1.6.0

3 May 2024Where it was published

1.6.1 is the newest release of 1.x.

In short

6 new2 faster8 fixed

Release note

Features

  • Support standalone mode

  • Custom "snapshotEnvironment" option

  • benchmark: Support comparing benchmark result

  • browser: Allow injecting scripts

  • reporter: Support includeConsoleOutput and addFileAttribute in junit

  • ui: Sort items by file name

Bug Fixes

  • Keep order of arguments for .each in custom task collectors

  • Call resolveId('vitest') after buildStart

  • Hash the name of the file when caching

  • Don't panic on empty files in node_modules

  • Use toJSON for error serialization

  • coverage: Exclude *.test-d.* by default

  • coverage: Apply vite-node's wrapper only to executed files

  • vm: Support network imports

Performance

  • Improve performance of forks pool

  • Unnecessary rpc call when coverage is disabled

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.