karma-webpack

Karma Webpack sourcemaps not working

大城市里の小女人 提交于 2019-12-03 02:31:14
I'm using Karma-Webpack to run my Angular 2 specs. https://github.com/webpack/karma-webpack When I execute tests using karma in Chrome, the source files for my specs appear readable in the debugger. However, the system under test files (my application source) is unreadable. I'm using the karma-sourcemap-loader and have devtool set to 'inline-source-map' as instructed. What could be causing this problem? This build is modeled after the AngularClass angular2-webpack-starter. https://github.com/AngularClass/angular2-webpack-starter Spec file in debugger: SUT file in debugger: webpack.test.js