Skip to content

Commit

Permalink
βœ… πŸ› Don't load karma-coverage by default (#14682)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha authored Apr 18, 2018
1 parent 333a47c commit 7c9b925
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion build-system/tasks/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ module.exports = {
'karma-browserify',
'karma-chai',
'karma-chrome-launcher',
'karma-coverage',
'karma-edge-launcher',
'karma-firefox-launcher',
'karma-fixture',
Expand Down
1 change: 1 addition & 0 deletions build-system/tasks/runtime-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ function runTests() {
c.files = c.files.concat(config.coveragePaths);
c.browserify.transform.push(
['browserify-istanbul', {instrumenterConfig: {embedSource: true}}]);
c.plugins.push('karma-coverage');
c.reporters = c.reporters.concat(['coverage']);
if (c.preprocessors['src/**/*.js']) {
c.preprocessors['src/**/*.js'].push('coverage');
Expand Down

0 comments on commit 7c9b925

Please sign in to comment.