When running TypeScript tests, if an error occurs in a JavaScript dependency, the source map is not preserved; stack trace has line number in compiled code.
Source maps always work.
- Output from your debug log
none
- Link to a minimal repo that reproduces this issue
https://github.com/jamietre/jest-source-map-problem/tree/20b8c62b45d19ca241b181f994d3bd6d3527fe69
Possibly related issue:
jestjs/jest#5925