Closed
Description
Current behavior
Sourcemaps point to the wrong line number in some version of TS 5.
*Note: There were some earlier reports of the stack trace not displaying at all in an error, but this was never reproducible.
Desired behavior
In order to get sourcemaps to work we have to do some monkeypatching to force the sourcemap options to generate them the way we expect. There's likely something that's changed in some version of TS 5 here.
Test code to reproduce
TS code - don't have repro
Cypress Version
13.6.1
Node version
18
Operating System
Mac
Debug Logs
No response
Other
No response