Skip to content

Commit

Permalink
chore(karma): add junit-reporter
Browse files Browse the repository at this point in the history
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
  • Loading branch information
michaelneale authored and petebacondarwin committed May 3, 2014
1 parent fbfde7c commit bdad3a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"protractor": "~0.20.1",
"http-server": "^0.6.1",
"bower": "^1.3.1",
"shelljs": "^0.2.6"
"shelljs": "^0.2.6",
"karma-junit-reporter": "^0.2.2"
},
"scripts": {
"postinstall": "bower install",
Expand Down
5 changes: 3 additions & 2 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ module.exports = function(config){
plugins : [
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine'
'karma-jasmine',
'karma-junit-reporter'
],

junitReporter : {
Expand All @@ -29,4 +30,4 @@ module.exports = function(config){
}

});
};
};

0 comments on commit bdad3a4

Please sign in to comment.