aboutsummaryrefslogtreecommitdiff
path: root/karma.conf.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-21 13:54:28 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-07-21 16:15:07 +0900
commita05df9d7b643b472208a2137a3329ba5a120f954 (patch)
tree1a71408603e299a1404e21e7354668291463402b /karma.conf.js
parentfc5e6b2b410d6850278dd982990ce42552a3b1b2 (diff)
Soucemap on tests
Diffstat (limited to 'karma.conf.js')
-rw-r--r--karma.conf.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/karma.conf.js b/karma.conf.js
index 871e62a..7331331 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -13,9 +13,9 @@ module.exports = function (config) {
],
preprocessors: {
- 'test/main.js': [ 'webpack' ],
- 'test/**/*.test.js': [ 'webpack' ],
- 'test/**/*.test.jsx': [ 'webpack' ],
+ 'test/main.js': [ 'webpack', 'sourcemap' ],
+ 'test/**/*.test.js': [ 'webpack', 'sourcemap' ],
+ 'test/**/*.test.jsx': [ 'webpack', 'sourcemap' ],
'test/**/*.html': ['html2js']
},