var behaves like let
This commit is contained in:
4
test.ce
4
test.ce
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user