From 2da4104f7f9fc499ed6d9206c65c6db733c8db56 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 20 Sep 2022 15:36:08 +0200 Subject: [PATCH] [test] Fix async_index.js --- test/harness/async_index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/harness/async_index.js b/test/harness/async_index.js index c200019ac6..6d804bd56a 100644 --- a/test/harness/async_index.js +++ b/test/harness/async_index.js @@ -267,6 +267,7 @@ function assert_return(action, ...expected) { .then( values => { uniqueTest(_ => { + let actual = values[0]; if (actual === undefined) { actual = []; } else if (!Array.isArray(actual)) {