var behaves like let

This commit is contained in:
2025-12-29 00:37:26 -06:00
parent 3b53a9dcc3
commit 4f3e2819fe
6 changed files with 149 additions and 106 deletions

View File

@@ -550,8 +550,9 @@ function finalize_results() {
}
// If no actor tests, finalize immediately
var totals
if (all_actor_tests.length == 0) {
var totals = { total: 0, passed: 0, failed: 0 }
totals = { total: 0, passed: 0, failed: 0 }
for (var i = 0; i < all_results.length; i++) {
totals.total += all_results[i].total
totals.passed += all_results[i].passed
@@ -564,7 +565,6 @@ if (all_actor_tests.length == 0) {
$delay(check_timeouts, 1000)
}
// Generate Reports function
function generate_reports(totals) {
var timestamp = number.floor(time.number()).toString()