-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Q] A way to conditionally exclude path #1030
Comments
@Makpoc you can do this in a |
That feature is not yet released, it will be part of 14.0.0. I still have a couple patches that need to go in before I can do a release. @Makpoc once 14.0.0 is released you will be able to create |
Great! Thanks. I found several references to |
|
Is there a way to conditionally exclude path from coverage? I have a project where I'm using nyc for test coverage for both unit and integration tests. I have a default set of excludes in package.json under nyc.exclude: [...]. I need to be able to add (preferably without replacing the defaults) few more files to exclude only for the unit-tests script (e.g. files related to db operations, that are required in the tested code, but are stubbed)
Any idea if that's possible?
The text was updated successfully, but these errors were encountered: