Can I configure Karma to use source map files for stacktraces? I see that there are a few GitHub questions that seem to have been closed? However, I cannot find an example of this.
If this is supported, can someone illustrate a config example?
In the karma.config.js file add
config.set({ files: [{ pattern: '**/*.js.map', included: false }, ... });
This worked for me and the files are now served by karma.
You need a preprocessor to look at source maps in karma: look at karma-sourcemap-loader to pre-process your data and find the source map files. The limitation of the library is that the source maps must be in the same folder as the js files with the same name, but different course extensions.
karma-sourcemap-loader