-
-
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
Remove retainLines from babel-jest #5439
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5439 +/- ##
=======================================
Coverage 62.18% 62.18%
=======================================
Files 205 205
Lines 6928 6928
Branches 3 3
=======================================
Hits 4308 4308
Misses 2619 2619
Partials 1 1 Continue to review full report at Codecov.
|
Nice! |
Would love to remove https://github.com/facebook/jest/blob/6635d93fc3813d386af73ff226db0bffd30a753d/.babelrc#L12 as well 🙂 |
@@ -7,6 +7,8 @@ | |||
|
|||
### Fixes | |||
|
|||
* `[babel-jest]` Remove retainLines from babel-jest | |||
([#5326](https://github.com/facebook/jest/issues/5326)) |
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.
should link to the PR, not issue.
This reverts commit 6635d93.
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
Per #5326, babel has an issue with retainLines that causes failures on decorators with async methods. Since babel already provides sourcemaps, we don't need to retainLines
Test plan
yarn test passed