Skip to content

Commit

Permalink
fix: statsPercent
Browse files Browse the repository at this point in the history
  • Loading branch information
toninis committed Jun 12, 2024
1 parent e431cce commit 70af4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detox/utils/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -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})`;
}
Expand Down

0 comments on commit 70af4e2

Please sign in to comment.