[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs(coverage): small typos (#8113)

authored by

Ari Perkkiö and committed by
GitHub
(Jun 10, 2025, 3:45 PM +0900) 67b401a3 b87ee3ec

+3 -3
+3 -3
docs/guide/coverage.md
··· 54 54 - ✅ Recommended option to use 55 55 - ✅ No pre-transpile step. Test files can be executed as-is. 56 56 - ✅ Faster execute times than Istanbul. 57 - - ✅ Lower memory usagethan Istanbul. 57 + - ✅ Lower memory usage than Istanbul. 58 58 - ✅ Coverage report accuracy is as good as with Istanbul ([since Vitest `v3.2.0`](/blog/vitest-3-2#coverage-v8-ast-aware-remapping)). 59 59 - ⚠️ In some cases can be slower than Istanbul, e.g. when loading lots of different modules. V8 does not support limiting coverage collection to specific modules. 60 - - ⚠️ There are some minor limitations set by V8 engine. See [`ast-v8-to-istanbl` | Limitations](https://github.com/AriPerkkio/ast-v8-to-istanbul?tab=readme-ov-file#limitations). 60 + - ⚠️ There are some minor limitations set by V8 engine. See [`ast-v8-to-istanbul` | Limitations](https://github.com/AriPerkkio/ast-v8-to-istanbul?tab=readme-ov-file#limitations). 61 61 - ❌ Does not work on environments that don't use V8, such as Firefox or Bun. Or on environments that don't expose V8 coverage via profiler, such as Cloudflare Workers. 62 62 63 63 <div style="display: flex; flex-direction: column; align-items: center; padding: 2rem 0; max-width: 20rem;"> ··· 282 282 Both coverage providers have their own ways how to ignore code from coverage reports: 283 283 284 284 - [`v8`](https://github.com/istanbuljs/v8-to-istanbul#ignoring-uncovered-lines) 285 - - [`ìstanbul`](https://github.com/istanbuljs/nyc#parsing-hints-ignoring-lines) 285 + - [`istanbul`](https://github.com/istanbuljs/nyc#parsing-hints-ignoring-lines) 286 286 - `v8` with [`experimentalAstAwareRemapping: true`](https://vitest.dev/config/#coverage-experimentalAstAwareRemapping) see [ast-v8-to-istanbul | Ignoring code](https://github.com/AriPerkkio/ast-v8-to-istanbul?tab=readme-ov-file#ignoring-code) 287 287 288 288 When using TypeScript the source codes are transpiled using `esbuild`, which strips all comments from the source codes ([esbuild#516](https://github.com/evanw/esbuild/issues/516)).