Skip to content

Commit bdad3a4

Browse files
michaelnealepetebacondarwin
authored andcommitted
chore(karma): add junit-reporter
We need to list karma-junit-reporter as a plugin and include it as a node module dependency before we can use it to output junit format. Closes angular#178
1 parent fbfde7c commit bdad3a4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"protractor": "~0.20.1",
1111
"http-server": "^0.6.1",
1212
"bower": "^1.3.1",
13-
"shelljs": "^0.2.6"
13+
"shelljs": "^0.2.6",
14+
"karma-junit-reporter": "^0.2.2"
1415
},
1516
"scripts": {
1617
"postinstall": "bower install",

test/karma.conf.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ module.exports = function(config){
2020
plugins : [
2121
'karma-chrome-launcher',
2222
'karma-firefox-launcher',
23-
'karma-jasmine'
23+
'karma-jasmine',
24+
'karma-junit-reporter'
2425
],
2526

2627
junitReporter : {
@@ -29,4 +30,4 @@ module.exports = function(config){
2930
}
3031

3132
});
32-
};
33+
};

0 commit comments

Comments
 (0)