-
-
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
Can't exclude file in directory #296
Comments
@hoschi this works fine for me: "nyc": {
"include": [
"src/**/*.js"
],
"exclude": [
"src/foo/snuh.js"
],
"require": [
"babel-core/register"
],
"sourceMap": false,
"instrument": false
}, I was having a bit of trouble but the underlying issue turned out to be the babel cache interfering with instrumentation, so I ran tests using:
try this and I think you'll find it does the trick. |
|
|
After upgrading nyc to 7.0.0 and switching to babel-plugin-istanbul this works now :) |
I have a file in
src/userAuth/userAuthReducer.js
which I can't exlude with its parent dir in the pattern.this works
this doesn't
nyc version: 6.6.1
node version: 6.2.1
I use
babel-plugin-__coverage__
for instrumentingThe text was updated successfully, but these errors were encountered: