Preprocess test scripts with webpack

This commit is contained in:
Tim Schaub
2017-08-27 10:42:23 -06:00
committed by Tim Schaub
parent 4515b8fe70
commit b0c0166e9b
2 changed files with 8 additions and 1 deletions

View File

@@ -57,6 +57,9 @@ module.exports = function(karma) {
'/rendering/': '/base/rendering/',
'/spec/': '/base/spec/'
},
preprocessors: {
'**/*.js': ['webpack']
},
reporters: ['progress'],
coverageReporter: {
reporters: [
@@ -69,6 +72,9 @@ module.exports = function(karma) {
type: 'text-summary' // prints the textual summary to the terminal
}
]
},
webpackMiddleware: {
noInfo: true
}
});