File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 111
111
"karma-chrome-launcher" : " ^2.2.0" ,
112
112
"karma-firefox-launcher" : " ^1.0.1" ,
113
113
"karma-jasmine" : " ^2.0.1" ,
114
+ "karma-json-result-reporter" : " ^1.0.0" ,
114
115
"karma-parallel" : " ^0.3.0" ,
115
116
"karma-sauce-launcher" : " ^2.0.2" ,
116
117
"karma-sourcemap-loader" : " ^0.3.7" ,
133
134
"selenium-webdriver" : " ^3.6.0" ,
134
135
"sorcery" : " ^0.10.0" ,
135
136
"source-map-support" : " ^0.5.9" ,
136
- "stylelint" : " ^9.9.0" ,
137
137
"stylelint" : " ^8.4.0" ,
138
138
"systemjs-builder" : " ^0.16.13" ,
139
139
"ts-node" : " ^3.0.4" ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ module.exports = config => {
13
13
require ( 'karma-chrome-launcher' ) ,
14
14
require ( 'karma-firefox-launcher' ) ,
15
15
require ( 'karma-sourcemap-loader' ) ,
16
+ require ( 'karma-json-result-reporter' ) ,
16
17
{ 'middleware:fake-url' : [ 'factory' , function ( ) {
17
18
// Middleware that avoids triggering 404s during tests that need to reference
18
19
// image paths. Assumes that the image path will start with `/$`.
@@ -60,9 +61,13 @@ module.exports = config => {
60
61
'dist/packages/**/*.js' : [ 'sourcemap' ]
61
62
} ,
62
63
63
- reporters : [ 'dots' ] ,
64
+ reporters : [ 'dots' , 'json-result' ] ,
64
65
autoWatch : false ,
65
66
67
+ jsonResultReporter : {
68
+ outputFile : "/tmp/karma-result.json" ,
69
+ } ,
70
+
66
71
sauceLabs : {
67
72
testName : 'Angular Material Unit Tests' ,
68
73
startConnect : false ,
You can’t perform that action at this time.
0 commit comments