Open rozzilla opened 3 weeks ago
Seems simple enough. The same logic for --test-skip-pattern
can be used.
--coverage-exclude-glob ...
--coverage-include-glob ...
I'm happy to work on this :-).
Hey! Sorry for the delay, I've been out-of-town, but I'll begin work on this ASAP.
What is the problem this feature will solve?
Hey folks! 👋🏼 I know that as by doc it's currently not possible to exclude specific files or directories from the coverage report.
The problem I face right now is that the coverage includes all of the test files.
For instance, if I have the following file:
and the test:
Once I run
node --experimental-test-coverage --test
I get:What is the feature you are proposing to solve the problem?
Ideally,
.test.*
should be excluded from the coverage reportWhat alternatives have you considered?
No response