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

chore: update test for new node 12 error message #9030

Merged
merged 3 commits into from
Oct 9, 2019

Conversation

SimenB
Copy link
Member

@SimenB SimenB commented Oct 9, 2019

Summary

Should fix e.g. https://circleci.com/gh/facebook/jest/72260

Test plan

Green CI

@@ -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')) &&
Copy link
Collaborator

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems they haven't special cased that yet

image

@codecov-io
Copy link

Codecov Report

Merging #9030 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          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
Impacted Files Coverage Δ
packages/jest-transform/src/ScriptTransformer.ts 68.91% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 464933f...b60fd2c. Read the comment docs.

@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants