From 70af4e219cc7e846455c6f0ddf1fd960099aaa87 Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Wed, 12 Jun 2024 10:10:35 +0300 Subject: [PATCH] fix: statsPercent --- detox/utils/report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detox/utils/report.js b/detox/utils/report.js index 049ef534248..f9b5f831b18 100644 --- a/detox/utils/report.js +++ b/detox/utils/report.js @@ -281,7 +281,7 @@ function generateTestReport(summary, isUploadedToS3, reportLink, environment, te }; } - let quickSummary = `${stats.passPercent.toFixed(2)}% (${stats.passes}/${stats.tests}) in ${stats.suites} suites`; + let quickSummary = `${stats.passPercent}% (${stats.passes}/${stats.tests}) in ${stats.suites} suites`; if (isUploadedToS3) { quickSummary = `[${quickSummary}](${reportLink})`; }