11// Karma configuration file, see link for more information
22// https://karma-runner.github.io/1.0/config/configuration-file.html
33
4- module . exports = function ( config ) {
4+ module . exports = function ( config ) {
55 config . set ( {
66 basePath : '' ,
77 frameworks : [ 'jasmine' , '@angular-devkit/build-angular' ] ,
@@ -10,23 +10,24 @@ module.exports = function (config) {
1010 require ( 'karma-chrome-launcher' ) ,
1111 require ( 'karma-jasmine-html-reporter' ) ,
1212 require ( 'karma-coverage-istanbul-reporter' ) ,
13- require ( '@angular-devkit/build-angular/plugins/karma' )
13+ require ( 'karma-spec-reporter' ) ,
14+ require ( '@angular-devkit/build-angular/plugins/karma' ) ,
1415 ] ,
1516 client : {
16- clearContext : false // leave Jasmine Spec Runner output visible in browser
17+ clearContext : false , // leave Jasmine Spec Runner output visible in browser
1718 } ,
1819 coverageIstanbulReporter : {
1920 dir : require ( 'path' ) . join ( __dirname , './coverage/async-module-provider' ) ,
2021 reports : [ 'html' , 'lcovonly' , 'text-summary' ] ,
21- fixWebpackSourcePaths : true
22+ fixWebpackSourcePaths : true ,
2223 } ,
23- reporters : [ 'progress ' , 'kjhtml' ] ,
24+ reporters : [ 'spec ' , 'kjhtml' ] ,
2425 port : 9876 ,
2526 colors : true ,
2627 logLevel : config . LOG_INFO ,
2728 autoWatch : true ,
28- browsers : [ 'Chrome ' ] ,
29- singleRun : false ,
30- restartOnFileChange : true
29+ browsers : [ 'ChromeHeadless ' ] ,
30+ singleRun : true ,
31+ restartOnFileChange : true ,
3132 } ) ;
3233} ;
0 commit comments