From ad19a06eb4935b26a1d261b6a757588e970c0b34 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 8 Sep 2019 21:19:37 -0500 Subject: [PATCH] refactor: split to make testing more sane --- packages/behavior/item/actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/behavior/item/actions.js b/packages/behavior/item/actions.js index 19eaff6..fae3bea 100644 --- a/packages/behavior/item/actions.js +++ b/packages/behavior/item/actions.js @@ -55,7 +55,8 @@ export class Actions extends decorate(Traversals) { if (result instanceof Promise) { this._actionPromise = result; // Handle any errors. - result.catch(console.error).finally(() => { + result.catch(console.error); + result.finally(() => { // Finally, run the prologue. this.prologue(); });