diff --git a/integration/angular_cli/karma.conf.js b/integration/angular_cli/karma.conf.js index a9c5297de149..646bfde5c8a6 100644 --- a/integration/angular_cli/karma.conf.js +++ b/integration/angular_cli/karma.conf.js @@ -18,6 +18,9 @@ module.exports = function (config) { client: { clearContext: false, // leave Jasmine Spec Runner output visible in browser }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, coverageReporter: { dir: path.join(__dirname, 'coverage'), subdir: '.', diff --git a/packages/angular_devkit/build_angular/test/hello-world-app/karma.conf.js b/packages/angular_devkit/build_angular/test/hello-world-app/karma.conf.js index 9e73f21d849a..1b6b10b70e7c 100644 --- a/packages/angular_devkit/build_angular/test/hello-world-app/karma.conf.js +++ b/packages/angular_devkit/build_angular/test/hello-world-app/karma.conf.js @@ -25,6 +25,9 @@ module.exports = function(config) { client: { clearContext: false, // leave Jasmine Spec Runner output visible in browser }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, coverageReporter: { dir: path.join(__dirname, './coverage'), subdir: '.', diff --git a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js index 2f49ecb6df61..80b89d8439ac 100644 --- a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js +++ b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js @@ -22,6 +22,9 @@ module.exports = function (config) { client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, coverageIstanbulReporter: { dir: require('path').join(__dirname, 'coverage'), reports: ['html', 'lcovonly'], diff --git a/packages/schematics/angular/application/files/karma.conf.js.template b/packages/schematics/angular/application/files/karma.conf.js.template index 9d541c810afa..8c012eef5745 100644 --- a/packages/schematics/angular/application/files/karma.conf.js.template +++ b/packages/schematics/angular/application/files/karma.conf.js.template @@ -15,6 +15,9 @@ module.exports = function (config) { client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, coverageReporter: { dir: require('path').join(__dirname, '<%= relativePathToWorkspaceRoot %>/coverage/<%= appName%>'), subdir: '.', diff --git a/packages/schematics/angular/library/files/karma.conf.js.template b/packages/schematics/angular/library/files/karma.conf.js.template index 5b7c002e406d..7d8d58d39315 100644 --- a/packages/schematics/angular/library/files/karma.conf.js.template +++ b/packages/schematics/angular/library/files/karma.conf.js.template @@ -15,6 +15,9 @@ module.exports = function (config) { client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, coverageReporter: { dir: require('path').join(__dirname, '<%= relativePathToWorkspaceRoot %>/coverage/<%= folderName %>'), subdir: '.',