mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-05 04:25:23 -08:00
Fix mocha report fixture + test duration handling
This commit is contained in:
@@ -71,7 +71,7 @@ export class MochaJsonParser implements TestParser {
|
||||
}
|
||||
|
||||
const error = this.getTestCaseError(test)
|
||||
const testCase = new TestCaseResult(test.title, result, test.duration, error)
|
||||
const testCase = new TestCaseResult(test.title, result, test.duration ?? 0, error)
|
||||
group.tests.push(testCase)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user