@@ -10,7 +10,8 @@ module.exports = function (config) {
10
10
require ( 'karma-chrome-launcher' ) ,
11
11
require ( 'karma-jasmine-html-reporter' ) ,
12
12
require ( 'karma-coverage-istanbul-reporter' ) ,
13
- require ( '@angular-devkit/build-angular/plugins/karma' )
13
+ require ( '@angular-devkit/build-angular/plugins/karma' ) ,
14
+ require ( 'karma-spec-reporter' )
14
15
] ,
15
16
client : {
16
17
clearContext : false // leave Jasmine Spec Runner output visible in browser
@@ -26,7 +27,16 @@ module.exports = function (config) {
26
27
functions : 80
27
28
}
28
29
} ,
29
- reporters : [ 'progress' , 'kjhtml' ] ,
30
+ reporters : [ 'spec' , 'kjhtml' ] ,
31
+ specReporter : {
32
+ maxLogLines : 5 , // limit number of lines logged per test
33
+ suppressErrorSummary : true , // do not print error summary
34
+ suppressFailed : false , // do not print information about failed tests
35
+ suppressPassed : false , // do not print information about passed tests
36
+ suppressSkipped : true , // do not print information about skipped tests
37
+ showSpecTiming : false // print the time elapsed for each spec
38
+ } ,
39
+
30
40
port : 9876 ,
31
41
colors : true ,
32
42
logLevel : config . LOG_INFO ,
0 commit comments