-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
feat: coverageIssues and PRs related to the coverage featureIssues and PRs related to the coverage featurep2-edge-caseBug, but has workaround or limited in scope (priority)Bug, but has workaround or limited in scope (priority)
Description
Clear and concise description of the problem
The option --exclude-after-remap can't currently be set in vite.config.ts.
Suggested solution
Add excludeAfterRemap as an option to the test.coverage config for provider v8.
Alternative
Use the c8 provider or run vitest as c8 vitest run and a .c8rc.json config file.
Additional context
The c8 provider currently supports excludeAfterRemap but TypeScript complains about it not being a valid option.
Also: #3813
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
feat: coverageIssues and PRs related to the coverage featureIssues and PRs related to the coverage featurep2-edge-caseBug, but has workaround or limited in scope (priority)Bug, but has workaround or limited in scope (priority)