diff --git a/test/jest-spec-reporter.cjs b/test/jest-spec-reporter.cjs index 1af65b4d313..9880e75d1b0 100644 --- a/test/jest-spec-reporter.cjs +++ b/test/jest-spec-reporter.cjs @@ -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) => {