File tree 2 files changed +4
-14
lines changed
2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,12 @@ module.exports = function(config) {
12
12
exclude : [ ] ,
13
13
14
14
preprocessors : {
15
- 'specs/main.js' : [ 'webpack' ]
15
+ 'specs/main.js' : [ 'webpack' , 'sourcemap' ]
16
16
} ,
17
17
18
18
webpack : {
19
19
cache : true ,
20
- // TODO: figure out how to get source maps in here, none of this works
21
- //devtool: {
22
- //'inline-source-map': true,
23
- //inlineSourceMap: true
24
- //},
20
+ devtool : 'inline-source-map' ,
25
21
module : {
26
22
loaders : [
27
23
{ test : / \. j s $ / , loader : 'jsx-loader' }
@@ -49,13 +45,6 @@ module.exports = function(config) {
49
45
50
46
captureTimeout : 60000 ,
51
47
52
- singleRun : false ,
53
-
54
- plugins : [
55
- require ( "karma-mocha" ) ,
56
- require ( "karma-chrome-launcher" ) ,
57
- require ( "karma-firefox-launcher" ) ,
58
- require ( "karma-webpack" )
59
- ]
48
+ singleRun : false
60
49
} ) ;
61
50
} ;
Original file line number Diff line number Diff line change 36
36
"karma-cli" : " 0.0.4" ,
37
37
"karma-firefox-launcher" : " 0.1.3" ,
38
38
"karma-mocha" : " 0.1.3" ,
39
+ "karma-sourcemap-loader" : " ^0.2.0" ,
39
40
"karma-webpack" : " 1.2.1" ,
40
41
"mocha" : " 1.20.1" ,
41
42
"react" : " >=0.11.0" ,
You can’t perform that action at this time.
0 commit comments