Skip to content

Commit

Permalink
[api] Write XML coverage report to coverage.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Feb 8, 2012
1 parent e0fb4dc commit 1d06e90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/vows/coverage/report-xml.js
@@ -1,4 +1,4 @@
var util = require('util'),
var fs = require('fs'),
file = require('./file');

this.name = 'coverage-report-xml';
Expand Down Expand Up @@ -77,5 +77,5 @@ this.report = function (coverageMap) {
+ all.xml
+ '</all>\n</data>\n</report>\n';

util.print(all.xml);
};
fs.writeFileSync('coverage.xml', all.xml);
};

0 comments on commit 1d06e90

Please sign in to comment.