diff --git a/karma.conf.js b/karma.conf.js index a07592b..f7990af 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -13,17 +13,10 @@ module.exports = function (config) { require('@angular-devkit/build-angular/plugins/karma') ], client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, + clearContext: false, + captureConsole: false, + suppressAll: true // ✅ correct placement +}, coverageReporter: { dir: require('path').join(__dirname, './coverage/kickstart-angular'), subdir: '.', @@ -37,7 +30,7 @@ module.exports = function (config) { colors: true, logLevel: config.LOG_INFO, autoWatch: true, - browsers: ['Chrome'], + browsers: ['ChromeHeadless'], singleRun: false, restartOnFileChange: true });