Skip to content

Commit

Permalink
Updated xunit per spec discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
mlucool committed Sep 19, 2016
1 parent 66a6887 commit 92722c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/reporters/xunit.js
Expand Up @@ -65,8 +65,8 @@ function XUnit(runner, options) {
self.write(tag('testsuite', {
name: 'Mocha Tests',
tests: stats.tests,
failures: stats.failures,
errors: 0,
failures: 0,
errors: stats.failures,
skipped: stats.tests - stats.failures - stats.passes,
timestamp: (new Date()).toUTCString(),
time: (stats.duration / 1000) || 0
Expand Down

0 comments on commit 92722c9

Please sign in to comment.