Skip to content

Commit

Permalink
SETUP: karma stacktraces now show line number in original source file.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbush committed Feb 21, 2016
1 parent f77d14c commit 6ea992c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function(config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'tests.webpack.js': [ 'webpack' ] //preprocess with webpack and our sourcemap loader
'tests.webpack.js': [ 'webpack', 'sourcemap' ] //preprocess with webpack and our sourcemap loader
},


Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
var path = require('path');

module.exports = {
devtool: 'source-map', // this doesn't do anything when run in karma
devtool: 'inline-source-map', // inline to work with karma
module: {
loaders: [
{
Expand Down

0 comments on commit 6ea992c

Please sign in to comment.