-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix npm link
usage on Node.js 6
#815
Conversation
By analyzing the blame information on this pull request, we identified @ariporad, @ingro and @naptowncode to be potential reviewers |
We can't `require("ava/...")` from within AVA itself.
Tests fixed |
What if we rewrite the I'm not sure about how often Node.js releases occur, do we really need to land this? I doubt we'd want to maintain this for the early Node 6 releases. On the other hand it'll help us during development, so maybe that's OK. |
My thought is to merge and track Node 6 progress. Once the old behavior is restored and stable, revert this out. The code I've copied here out of Still, I agree, this isn't something I want to maintain long term, hence all the extra comments letting us know what and when to revert. I don't want to wait for Node to sort this out before I can use |
👍 |
When running this fix on our test suite, Not sure if you were aware of this but you may want to delay publishing to NPM. |
@dcousineau - Good Catch! #827 should fix your issue. NYC still will not work if you are using |
FYI: The NYC issue is because I have opened istanbuljs/spawn-wrap#22, requesting that support for |
Makes sense. I'm not using |
Fixes #814, but causes all sorts of test breakage.
I can't really figure out why it breaks the tests, it seems to work fine IRL. My only guess is that being wrapped by
tap
is somehow causing the problem.