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
ESM modules breaking tests #517
Comments
@jdalton, is this related to the stuff that you were just working on to get it playing more nicely with NYC? |
How does |
|
In the meantime, update to tap v12.6, and add |
@djMax I tried to simulate a repro and could not reproduce the issue on my end. If you manage to create a repro please feel free to post back here or at standard-things/esm/issues. |
This module: https://github.com/gas-buddy/service if you install tap@12.5.0, will fail |
I had a similar problem as well, and this is my log:
It happens only in Node v6. Updating to |
@djMax Thanks, digging in. Update: Patched standard-things/esm@8b8bcd1 Update:
@delvedor If you have a small repro I'll dig into that too 💪 |
@jdalton thanks! Unfortunately, I haven't. In my project I'm running |
What version of Node 6 are you using? |
|
Thanks @delvedor! I narrowed down the issue to an engine bug in Node 6 I have to guard against. It seems in Node 6 a generator may not always return an object with Update: Related to this V8 bug https://bugs.chromium.org/p/v8/issues/detail?id=5322 with the Update: Patch standard-things/esm@23a163a; Update:
|
At the least, I think this is a semver violation, but not sure the root cause. As of tap 12.4.0 our tests work fine, with 12.5, they all fail with this:
I'm not sure the logic behind adding esm to tap, but it breaks babel in some way.
The text was updated successfully, but these errors were encountered: