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 1Continue to review full report at Codecov.
|
|
Nice! |
|
Would love to remove https://github.com/facebook/jest/blob/6635d93fc3813d386af73ff226db0bffd30a753d/.babelrc#L12 as well 🙂 |
| ### Fixes | ||
|
|
||
| * `[babel-jest]` Remove retainLines from babel-jest | ||
| ([#5326](https://github.com/facebook/jest/issues/5326)) |
There was a problem hiding this comment.
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