Skip to content

Enable V8 coverage's experimentalAstAwareRemapping by default and remove old remapping mode #7928

@AriPerkkio

Description

@AriPerkkio

Clear and concise description of the problem

Continuation for:

There should be no need for old non-AST based remapping (v8-to-istanbul) once vitest@3.2.0 has been released. However the coverage diffs between these two remapping methods is quite much, so we should consider this as breaking change. Users are very likely seeing different, more accurate results with the new experimentalAstAwareRemapping option.

Removing the old remapping method simplifies @vitest/coverage-v8 codebase a lot.

Suggested solution

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions