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

This reverts merge request !9044
This commit is contained in:
Clement Ho 2017-02-07 21:32:20 +00:00
parent 0e135d36e5
commit ee99bf3c4e
2 changed files with 1 additions and 10 deletions

View file

@ -13,17 +13,9 @@ module.exports = function(config) {
{ pattern: 'spec/javascripts/fixtures/**/*@(.json|.html|.html.raw)', included: false },
],
preprocessors: {
'spec/javascripts/**/*.js?(.es6)': ['webpack', 'sourcemap', 'coverage'],
'spec/javascripts/**/*.js?(.es6)': ['webpack', 'sourcemap'],
},
reporters: ['progress', 'coverage'],
webpack: webpackConfig,
webpackMiddleware: { stats: 'errors-only' },
coverageReporter: {
dir: './coverage-javascript',
reporters: [
{ type: 'html', subdir: 'default' },
{ type: 'text-summary' }
],
}
});
};

View file

@ -43,7 +43,6 @@
"jasmine-core": "^2.5.2",
"jasmine-jquery": "^2.1.1",
"karma": "^1.3.0",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sourcemap-loader": "^0.3.7",