From 5bd480be69daf66c46c5b7f3fef7a933c44e8e2e Mon Sep 17 00:00:00 2001 From: Jared Wray Date: Fri, 6 Sep 2024 08:41:07 -0700 Subject: [PATCH] adding in multiple args with readme --- test/index.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/index.test.ts b/test/index.test.ts index 2c10869..faa8824 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -94,9 +94,8 @@ describe('Hookified', () => { }); const data = {key: 'value'}; - let handlerData; - const handler = (data: any) => { + const handler = () => { throw new Error('error'); };