Skip to content

Commit

Permalink
Fix reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
devpow112 committed Dec 13, 2023
1 parent a24da53 commit 470f4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/mocha-reporter.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class TestReportingMochaReporter extends Spec {
this._report.summary = {
...this._report.summary,
totalDuration: stats.duration,
state: stats.failures !== 0 ? 'failed' : 'passed',
status: stats.failures !== 0 ? 'failed' : 'passed',
countPassed: stats.passes,
countFailed: stats.failures,
countSkipped: stats.pending,
Expand Down

0 comments on commit 470f4c9

Please sign in to comment.