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
if I use cmd line directly, the stack trace location is off too... so it seems not the problem of the extension, but Mocha. or my config?...
Though, the code lens is still a problem.
Thank you for posting this. I also had to add --enable-source-maps to mochaExplorer.nodeArgv to fix the test gutter icons. Otherwise these run buttons were on the wrong lines.
Stack trace location and code lens location are far off?
eg:
env:
Im using Mocha, with Typescript, Esm import.
config:
Update:
if I use cmd line directly, the stack trace location is off too... so it seems not the problem of the extension, but Mocha. or my config?...
Though, the code lens is still a problem.
Update:
|>"
like it was broken recently by an update to node TypeStrong/ts-node#2053, it will probably be fixed at some point, but in the meantime you could confirm that you have "sourceMaps": true in your tsconfig and maybe figure out how to pass --enable-source-maps to the node instance that runs your tests
<|
https://www.reddit.com/r/typescript/comments/1cwbc95/typescript_esm_mocha_wrong_line_numbers_in_stack/
The text was updated successfully, but these errors were encountered: