From 680944dff12e3e5cfdf62c4fb18b89e56f67ccaf Mon Sep 17 00:00:00 2001 From: Sarah Jiang Date: Thu, 26 Aug 2021 21:17:19 -0700 Subject: [PATCH] F --- src/receivers/ExpressReceiver.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/receivers/ExpressReceiver.spec.ts b/src/receivers/ExpressReceiver.spec.ts index 7fc36a19c..1ecda7336 100644 --- a/src/receivers/ExpressReceiver.spec.ts +++ b/src/receivers/ExpressReceiver.spec.ts @@ -166,7 +166,7 @@ describe('ExpressReceiver', function () { let caughtError: Error | undefined; try { await receiver.start(port); - } catch (error) { + } catch (error: any) { caughtError = error; } @@ -188,7 +188,7 @@ describe('ExpressReceiver', function () { await receiver.start(port); try { await receiver.start(port); - } catch (error) { + } catch (error: any) { caughtError = error; } @@ -230,7 +230,7 @@ describe('ExpressReceiver', function () { let caughtError: Error | undefined; try { await receiver.stop(); - } catch (error) { + } catch (error: any) { caughtError = error; }