-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
no "use strict" in a es6 module context #958
Conversation
wait, are they? In Jest, modules definitely behave differently based on whether "use strict" is given and I believe in nodejs too. |
sorry, "modules" in the es6 sense, babel will add "use strict" for you, which is why i left it in the bottom example but not in the test file ones. |
I didn't know that! Would you mind also removing it from |
Since modules are strict by default its a bit odd. super tiny nit.
👍 |
@facebook-github-bot shipit |
Thanks for importing. If you are an FB employee go to Phabricator to review. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Since modules are strict by default its a bit odd. super tiny nit.