[FEATURE] Ability to exclude particular files from test coverage #1050
Labels
feature
a thing you'd like to see
Content-Length: 219516 | pFad | http://github.com/tapjs/tapjs/issues/1050
C3Fetched URL: http://github.com/tapjs/tapjs/issues/1050
Alternative Proxies:
Is there an existing issue for this?
Have you read the
CONTRIBUTING
guide on posting issues, andCODE_OF_CONDUCT
?Description
I see #604 was already filed, but it's a few years old and the suggested option to try (
nyc-arg
) gets rejected by tap.My situation: I work on a project that has some codegen as part of its build step (protobuf JavaScript interface) and I don't want that file to be tracked as part of code coverage. I tried using
exclude
but that didn't work.Example
Perhaps something that exactly follows the same rules for
exclude
for excluding files from being run as part of test execution, but instead applies to tracking code coverage.The text was updated successfully, but these errors were encountered: