This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,16 @@ module.exports = function(config, specificOptions) {
10
10
browserDisconnectTimeout : 10000 ,
11
11
browserDisconnectTolerance : 2 ,
12
12
browserNoActivityTimeout : 30000 ,
13
-
14
-
13
+ reporters : [ 'spec' ] ,
14
+ specReporter : {
15
+ maxLogLines : 5 , // limit number of lines logged per test
16
+ suppressErrorSummary : true , // do not print error summary
17
+ suppressFailed : false , // do not print information about failed tests
18
+ suppressPassed : true , // do not print information about passed tests
19
+ suppressSkipped : false , // do not print information about skipped tests
20
+ showSpecTiming : false , // print the time elapsed for each spec
21
+ failFast : false // test would finish with error when a first fail occurs.
22
+ } ,
15
23
// SauceLabs config for local development.
16
24
sauceLabs : {
17
25
testName : specificOptions . testName || 'AngularJS' ,
Original file line number Diff line number Diff line change 70
70
"karma-ng-scenario" : " ^1.0.0" ,
71
71
"karma-sauce-launcher" : " ^1.1.0" ,
72
72
"karma-script-launcher" : " ^1.0.0" ,
73
+ "karma-spec-reporter" : " ^0.0.31" ,
73
74
"load-grunt-tasks" : " ^3.5.0" ,
74
75
"lodash" : " ~2.4.1" ,
75
76
"log4js" : " ^0.6.27" ,
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ elif [ "$JOB" == "unit" ]; then
22
22
fi
23
23
24
24
grunt test:promises-aplus
25
- grunt test:unit --browsers=" $BROWSERS " --reporters=dots
26
- grunt tests:docs --browsers=" $BROWSERS " --reporters=dots
25
+ grunt test:unit --browsers=" $BROWSERS " --reporters=spec
26
+ grunt tests:docs --browsers=" $BROWSERS " --reporters=spec
27
27
elif [ " $JOB " == " docs-e2e" ]; then
28
28
grunt test:travis-protractor --specs=" docs/app/e2e/**/*.scenario.js"
29
29
elif [ " $JOB " == " e2e" ]; then
Original file line number Diff line number Diff line change @@ -1093,7 +1093,7 @@ colors@1.0.x:
1093
1093
version "1.0.3"
1094
1094
resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b"
1095
1095
1096
- colors@^1.1.0, colors@~1.1.2 :
1096
+ colors@^1.1.0, colors@^1.1.2, colors@ ~1.1.2 :
1097
1097
version "1.1.2"
1098
1098
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
1099
1099
@@ -3665,6 +3665,12 @@ karma-script-launcher@^1.0.0:
3665
3665
version "1.0.0"
3666
3666
resolved "https://registry.yarnpkg.com/karma-script-launcher/-/karma-script-launcher-1.0.0.tgz#cd017c4de5ef09e5a9da793276176108dd4b542d"
3667
3667
3668
+ karma-spec-reporter@^0.0.31 :
3669
+ version "0.0.31"
3670
+ resolved "https://registry.yarnpkg.com/karma-spec-reporter/-/karma-spec-reporter-0.0.31.tgz#4830dc7148a155c7d7a186e632339a0d80fadec3"
3671
+ dependencies :
3672
+ colors "^1.1.2"
3673
+
3668
3674
karma@^1.7.0 :
3669
3675
version "1.7.0"
3670
3676
resolved "https://registry.yarnpkg.com/karma/-/karma-1.7.0.tgz#6f7a1a406446fa2e187ec95398698f4cee476269"
You can’t perform that action at this time.
0 commit comments