Skip to content

Commit

Permalink
fix: Dont count xunit failures as errors (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlucool committed Nov 24, 2021
1 parent cb4ba59 commit c8ed187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xunit-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function XUnitFile(runner) {
name: process.env.SUITE_NAME || 'Mocha Tests'
, tests: stats.tests
, failures: stats.failures
, errors: stats.failures
, errors: 0
, skipped: stats.tests - stats.failures - stats.passes
, timestamp: timestampStr
, time: stats.duration / 1000
Expand Down

0 comments on commit c8ed187

Please sign in to comment.