fix: add @vitest/coverage-v8 and @vitest/coverage-istanbul as optional dependency#10025
Merged
sheremet-va merged 1 commit intovitest-dev:mainfrom Mar 30, 2026
Merged
Conversation
ebed9aa to
73b310a
Compare
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this pull request
Mar 30, 2026
Fixes an issue where running Vitest tests with coverage in a strict pnpm/Bazel environment fails because @vitest/coverage-v8 cannot be found by the vitest execution. See: vitest-dev/vitest#10025
73b310a to
f144691
Compare
alan-agius4
added a commit
to angular/angular-cli
that referenced
this pull request
Mar 30, 2026
Fixes an issue where running Vitest tests with coverage in a strict pnpm/Bazel environment fails because @vitest/coverage-v8 cannot be found by the vitest execution. See: vitest-dev/vitest#10025
sheremet-va
requested changes
Mar 30, 2026
Member
sheremet-va
left a comment
There was a problem hiding this comment.
Let's also add @vitest/coverage-istanbul
…` as optional dependency The `@vitest/coverage-v8` and `@vitest/coverage-istanbul` package is now listed as an optional peer dependency. This allows users to opt-in to v8 coverage without requiring it as a hard dependency, while satisfying package manager hoisting and linking requirements.
f144691 to
7b6d676
Compare
Contributor
Author
|
@sheremet-va done. PTAL. |
@vitest/coverage-v8 and @vitest/coverage-istanbul as optional dependency
sheremet-va
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The @vitest/coverage-v8 package is now listed as an optional peer dependency. This allows users to opt-in to v8 coverage without requiring it as a hard dependency, while satisfying package manager hoisting and linking requirements such as pnpm and Bazel.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.