-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
How to use istanbul's --include-all-sources flag? #197
Comments
The Probably be better to use |
Ah, is it possible to replace |
You will need to run the |
Ok, understood. Thanks for your support! If I am going with the script you provided, do I then still need to run my |
Oh sorry one more thing, you need to add "scripts": {
"coverage": "yarn test && nyc --clean=false --require ./babel-register.js --instrument=false --source-map=false --all=true -- node -e ''",
"test": "electron-mocha --require ./babel-register.js **/__tests__/*.test.ts"
} Don't change anything else. This way |
I have read that
babel-plugin-istanbul
supportsexclude
/include
rules but how to make use of istanbul's--include-all-sources
flag?I have tried adding
--all
to mynyc reporter
script but it does not seem to have any effect:package.json
babel-register.js
The text was updated successfully, but these errors were encountered: