Skip to content

Commit

Permalink
[test] Fix async_index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Sep 21, 2022
1 parent 5900d83 commit 2da4104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/harness/async_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2da4104

Please sign in to comment.