@vitest/coverage-c8
0.33.0 · 6 Jul 2023MIT193.2k / weekRepositoryHomepagenpmAtom feed
0.33.0 is the newest release of 0.23.x.
In short
4 breaking7 new13 fixed
- breaking
Don't reset modules with --no-isolate
- breaking
If not processed, CSS Modules return a proxy, scope class names by filename
- breaking
Improve interchangeability with cjs
- breaking
Allow custom environments
Release note
Breaking Changes
- breaking
Don't reset modules with --no-isolate
- breaking
If not processed, CSS Modules return a proxy, scope class names by filename
- breaking
Improve interchangeability with cjs
- breaking
Allow custom environments
Features
Add include option in istanbul coverage
Introduce
retryoption for testsAdd benchmark support with
vitest benchcommandcoverage: Include json reporter by default
coverage-istanbul: Add "all" option
worker: Always apply custom resolver conditions
Bug Fixes
Allow referring to first seen value while automocking
Console.Console is undefined (close: #1877)
Invalidate new worker and its dependencies
Improve error serialization
Clean coverage-c8 tmp before reporting (fix #1917)
Automock getters and setters
Add possibility to filter test files by fileName
Make globalThis more compatible with jest
Delete mock in moduleCache when unmock
Matcher toHaveProperty actually tests value
env-replacer: Don't modify string literals
istanbul: Disable compact in instrumenter transform
reporter: Correct error source position in json report
reporter-junit: Escape XML when in error message (fix: #1823)