diff --git a/packages/@angular/cli/blueprints/ng/files/karma.conf.js b/packages/@angular/cli/blueprints/ng/files/karma.conf.js index 328acb70f395..d8f8fe5a5e5f 100644 --- a/packages/@angular/cli/blueprints/ng/files/karma.conf.js +++ b/packages/@angular/cli/blueprints/ng/files/karma.conf.js @@ -12,7 +12,7 @@ module.exports = function (config) { require('karma-coverage-istanbul-reporter'), require('@angular/cli/plugins/karma') ], - client:{ + client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, files: [ @@ -22,17 +22,17 @@ module.exports = function (config) { './<%= sourceDir %>/test.ts': ['@angular/cli'] }, mime: { - 'text/x-typescript': ['ts','tsx'] + 'text/x-typescript': ['ts', 'tsx'] }, coverageIstanbulReporter: { - reports: [ 'html', 'lcovonly' ], + reports: ['html', 'lcovonly'], fixWebpackSourcePaths: true }, angularCli: { environment: 'dev' }, reporters: config.angularCli && config.angularCli.codeCoverage - ? ['progress', 'coverage-istanbul'] + ? ['progress', 'coverage-istanbul', 'kjhtml'] : ['progress', 'kjhtml'], port: 9876, colors: true,