-
-
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
chore: update test for new node 12 error message #9030
Conversation
@@ -383,7 +383,8 @@ export default class ScriptTransformer { | |||
|
|||
if ( | |||
e instanceof SyntaxError && | |||
e.message.includes('Unexpected token') && | |||
(e.message.includes('Unexpected token') || | |||
e.message.includes('Cannot use import')) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can have export
here as well now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## master #9030 +/- ##
======================================
Coverage 63.9% 63.9%
======================================
Files 277 277
Lines 11652 11652
Branches 2860 2860
======================================
Hits 7446 7446
Misses 3576 3576
Partials 630 630
Continue to review full report at Codecov.
|
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. |
Summary
Should fix e.g. https://circleci.com/gh/facebook/jest/72260
Test plan
Green CI