You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue 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.
I've tried to reproduce this issue with minimum code in https://github.com/randing89/line-number-bug
The line number is incorrect unless
retainLines
was set in.babelrc
. However, I don't think it is expected asbabel-jest
has already set thesourceMaps
toboth
in https://github.com/facebook/jest/blob/master/packages/babel-jest/src/index.js#L78It looks like the exception thrown out from https://github.com/facebook/jest/blob/master/packages/jest-runtime/src/index.js#L555 was not transformed with source map. Or maybe I just crewed up with the configuration.
Screenshot:
System info:
The text was updated successfully, but these errors were encountered: