Skip to content
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: babel-plugin-jest-hoist error on node 12 #3

Conversation

gsukanto
Copy link
Contributor

While testing using node 12, there is an error related with this issue. tl;dr, In the v12 of NodeJS, they changed the list of enumerable globals. Most notably process and Buffer are no longer enumerable.

image

The fix has been merged and published as v24.9.0.

In summary, this PR minor update Jest (and babel jest) plugin to avoid enumerable globals on Node 12

@gsukanto gsukanto added the bug Something isn't working label Dec 22, 2019
@gsukanto gsukanto requested review from ariya, nicnocquee and a team December 22, 2019 03:12
@ariya ariya merged commit 853b958 into hyperjumptech:master Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants