We use Electron.js with Intern tests running in the rendered (browser) process. When the test throws an error, Intern's ErrorFormatter._normalizeStackTrace changed stacktrace from
Error: err msg
at SomeFile.method (file:///C:/workdir/project/SomeFile.js:26:7)
to:
Error: err msg
at SomeFile.method @ file:///C:/workdir/project/SomeFile.js:26:7
Chromium DevTools console changes the later format to a link pointing to file:///C:/prace/workdir/node_modules/intern/SomeFile.method which is wrong and click to it does not show me the source of the problem.
Please, do not change the stacktrace format or add some option to skip stacktrace normalization. Outputting raw stacktrace work fine.
We use Electron.js with Intern tests running in the rendered (browser) process. When the test throws an error, Intern's
ErrorFormatter._normalizeStackTracechanged stacktrace fromto:
Chromium DevTools console changes the later format to a link pointing to
file:///C:/prace/workdir/node_modules/intern/SomeFile.methodwhich is wrong and click to it does not show me the source of the problem.Please, do not change the stacktrace format or add some option to skip stacktrace normalization. Outputting raw stacktrace work fine.