Packages

@vitest/coverage-c8

0.33.0 · 6 Jul 2023MIT193.2k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: v8 coverage is moved to @vitest/coverage-v8 packageWhat to use instead
Your version

0.27.2

17 Jan 2023Where it was published

0.33.0 is the newest release of 0.27.x.

npm marks 0.27.2 as deprecated: v8 coverage is moved to @vitest/coverage-v8 package

In short

1 new1 faster11 fixed

Release note

Features

  • Add runAllTimersAsync from sinonjs

Bug Fixes

  • Document.defaultView references the same window as the global one

  • Trim input filename and test name

  • Increase default teardownTimeout

  • Mock css files imported with "require"

  • Don't start watching files in "run" mode

  • Rerun tests, when setup file is edited

  • Always show filename for unhandled errors

  • Define property instead of assigning it in vi.stubGlobal

  • coverage: Watch mode to use coverage.all only when all tests are run

  • typecheck: Log tests with verbose reporter, correctly show "pass" tests

  • ui: Don't show "connecting" screen in html reporter

Performance

  • Don't resolve import path, if it was already resolved