feat(coverage): v8 to track `node:child_process` and `node:worker_threads` contexts by AriPerkkio · Pull Request #9976 · vitest-dev/vitest

@AriPerkkio

Description

Users will likely run into nodejs/node#62301 when testing node:worker_threads. We'll need to document that.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

AriPerkkio

@netlify

@pkg-pr-new

@vitest/browser
npm i https://pkg.pr.new/@vitest/browser@9976
@vitest/browser-playwright
npm i https://pkg.pr.new/@vitest/browser-playwright@9976
@vitest/browser-preview
npm i https://pkg.pr.new/@vitest/browser-preview@9976
@vitest/browser-webdriverio
npm i https://pkg.pr.new/@vitest/browser-webdriverio@9976
@vitest/coverage-istanbul
npm i https://pkg.pr.new/@vitest/coverage-istanbul@9976
@vitest/coverage-v8
npm i https://pkg.pr.new/@vitest/coverage-v8@9976
@vitest/expect
npm i https://pkg.pr.new/@vitest/expect@9976
@vitest/mocker
npm i https://pkg.pr.new/@vitest/mocker@9976
@vitest/pretty-format
npm i https://pkg.pr.new/@vitest/pretty-format@9976
@vitest/runner
npm i https://pkg.pr.new/@vitest/runner@9976
@vitest/snapshot
npm i https://pkg.pr.new/@vitest/snapshot@9976
@vitest/spy
npm i https://pkg.pr.new/@vitest/spy@9976
@vitest/ui
npm i https://pkg.pr.new/@vitest/ui@9976
@vitest/utils
npm i https://pkg.pr.new/@vitest/utils@9976
vitest
npm i https://pkg.pr.new/vitest@9976
@vitest/web-worker
npm i https://pkg.pr.new/@vitest/web-worker@9976
@vitest/ws-client
npm i https://pkg.pr.new/@vitest/ws-client@9976

commit: fef5aec

@AriPerkkio