chore: jest reporter log failed tests count (#8810)
for example 3 tests passed but 1 failed, shows: > 1 FAILED instead of > 4 FAILED example of the previous behaviour  
This commit is contained in:
@@ -51,7 +51,7 @@ class JestCiSpecReporter {
|
||||
console.log(
|
||||
`Executed ${numNotSkippedTests} of ${numTotalTests} (skipped ${numPendingTests}) ${testResultText} (${runDuration})`,
|
||||
)
|
||||
console.log(`TOTAL: ${numNotSkippedTests} ${testResultText}`)
|
||||
console.log(`TOTAL: ${numFailedTests || numNotSkippedTests} ${testResultText}`)
|
||||
}
|
||||
onTestResult(test, { testResults }) {
|
||||
testResults.forEach((result) => {
|
||||
|
||||
Reference in New Issue
Block a user