Skip to content

Commit

Permalink
fix test not errored when doAndWrapResultPromises error early in node…
Browse files Browse the repository at this point in the history
… <= v14
  • Loading branch information
lihsai0 committed Mar 12, 2024
1 parent f9645c8 commit 4e55616
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/conftest.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ function doAndWrapResultPromises (func) {
return;
}
resolve({ data, resp });
});
})
.catch(err => {
reject(err);
});
});
return promises;
}
Expand Down

0 comments on commit 4e55616

Please sign in to comment.