-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Exit with status code 137 on node 4 when using with AVA, --all and --require babel hook #181
Comments
The other issue here relates to the fact that he wanted to use the Also, it is preferable to use AVA's |
It's starting to seem that But… then there's |
A workaround for --all is to add empty test files that just require the (not yet) tested file? |
Yea, that way AVA can load the files and you won't need the conflicting Once AVA supports custom Babel configs you could use https://github.com/novemberborn/babel-plugin-import-glob to require all source files in one go, so you don't forget any. Until we fix |
I can already glob with |
Use empty test files instead. See istanbuljs/nyc#181 Closes #247
Also, if you are using Node 4+, you can use the native
If you need to support Node
👍 |
Closing this issue since it's by design. Tracking improvements in #183. |
I have a repo setup with AVA and nyc
AVA option
On node 5, all tests passed.
But on node 4, npm@2 doesn't dedupe
babel-core/register
by default, we will have 2 different versions ofbabel-core/register
: one from AVA and one from project's dependencies.This will cause test process exit with status code 137
My current solution is disable coverage on node 4.
poke @jamestalmage
The text was updated successfully, but these errors were encountered: