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
Whenever tests are run and there is an error, it reports the error at being within the transpiled/generated js file, instead of where the source file is (via source maps), example
some error message at /config/webpack/test.js:1748
But would be much more helpful to see something like:
some error message at /src/app/components/myComp.test.ts:23
This makes it difficult to track down any problems with tests.
I've tried setting "retainLines" to true for babel, and adding "sourcemap" to the karma preprocessors, but to no avail.
Is there a config setting that can be added to show the line numbers AND the file name of the source, when running tests?
The text was updated successfully, but these errors were encountered:
Whenever tests are run and there is an error, it reports the error at being within the transpiled/generated js file, instead of where the source file is (via source maps), example
But would be much more helpful to see something like:
This makes it difficult to track down any problems with tests.
I've tried setting "retainLines" to true for babel, and adding "sourcemap" to the karma preprocessors, but to no avail.
Is there a config setting that can be added to show the line numbers AND the file name of the source, when running tests?
The text was updated successfully, but these errors were encountered: