Skip to content

Commit

Permalink
Return action results in actionsSettled. Closes #1120 (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb authored Oct 27, 2020
1 parent 3c69b73 commit 8d6fcf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/snap-driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ SnapDriver.prototype.actionsSettled = async function() {
.concat(SnapActions._pendingLocalActions)
.map(action => action.promise);

await Promise.allSettled(pendingActions);
return await Promise.allSettled(pendingActions);
};

SnapDriver.prototype.moveBlock = function(spec, target, pos) {
Expand Down

0 comments on commit 8d6fcf5

Please sign in to comment.