Coverage report does not include types-only TS files #6164
Labels
feat: coverage
Issues and PRs related to the coverage feature
p2-edge-case
Bug, but has workaround or limited in scope (priority)
Describe the bug
Discussed in #6158
In some cases, the coverage report does not include types-only
.ts
files. One particular case is when the tested file uses a types-only.ts
file, but the types are not exported from the package barrel file. The file is not included in the report even withall: true
in coverage settings.Reproduction
npm install
npm run test:run
Observe coverage report:
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: