Commit ee99bf3c authored by Clement Ho's avatar Clement Ho

Revert "Merge branch 'fix-karma-coverage' into 'master'"

This reverts merge request !9044
parent 0e135d36
...@@ -13,17 +13,9 @@ module.exports = function(config) { ...@@ -13,17 +13,9 @@ module.exports = function(config) {
{ pattern: 'spec/javascripts/fixtures/**/*@(.json|.html|.html.raw)', included: false }, { pattern: 'spec/javascripts/fixtures/**/*@(.json|.html|.html.raw)', included: false },
], ],
preprocessors: { preprocessors: {
'spec/javascripts/**/*.js?(.es6)': ['webpack', 'sourcemap', 'coverage'], 'spec/javascripts/**/*.js?(.es6)': ['webpack', 'sourcemap'],
}, },
reporters: ['progress', 'coverage'],
webpack: webpackConfig, webpack: webpackConfig,
webpackMiddleware: { stats: 'errors-only' }, webpackMiddleware: { stats: 'errors-only' },
coverageReporter: {
dir: './coverage-javascript',
reporters: [
{ type: 'html', subdir: 'default' },
{ type: 'text-summary' }
],
}
}); });
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment