Skip to content

allowExternal option for v8 coverage provider #3867

@vojvodics

Description

@vojvodics

Clear and concise description of the problem

Since the @vitest/coverage-c8 is removed in favor of @vitest/coverage-v8 (#3339) and coverage-v8 doesn't provide the allowExternal option this will break coverage reports when upgrading to the latest vitest version (and switching providers).

Suggested solution

Implement the allowExternal option (as suggested in the above-mentioned PR). I'd be happy to provide the implementation (LMK if you have any inputs/suggestions on how to do this)

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeat: coverageIssues and PRs related to the coverage feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions