-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Error: global leak detected: __core-js_shared__ #152
Comments
Expected behavior. zloirock/core-js#51 |
This also happens when testing with lab.
I noticed that the library i need babel for ignores this error in it's own test. @zloirock is ignoring the leak something you would recommend? |
@robkorv did you ever figure out the issue with lab? |
@FourQ, no I just ignored the error like hapi-react-views does in it's tests. |
@robkorv thanks, that's what I've been doing. |
me too |
* WIP changes * Use Babel 7 * Fix build * Fix Node 6 compatibility (apparently Babel has no idea how to transform Object.values) * Try ignoring "expected behaviour" error (babel/babel-loader#152) * Coverage dropped since less code gets generated now, time to revisit threshold
Hi! I'm using
babel-core/register
in some tests that're run with mocha, and it seems to be complaining about a global leak fromBut I get an error when I run the test
To give you more context, Mocha creates a temporary directory for each test setup, and I'm calling require on babel-core/register just within the line of code that's testing my es6 case. It's important that I avoid transpiling code that shouldn't have any ES6 in it.
The text was updated successfully, but these errors were encountered: