diff --git a/tests/unit/Handler.test.ts b/tests/unit/Handler.test.ts index 055805f..77ffd61 100644 --- a/tests/unit/Handler.test.ts +++ b/tests/unit/Handler.test.ts @@ -174,7 +174,7 @@ describe('Application entry', () => { ], }; - await handler(event, null, (error, result) => { + await handler(eventWithTwoRecords, null, (error, result) => { expect(error).toBeNull(); expect(result).toEqual(expectedResponse); expect(sendMCProhibition).toHaveBeenCalledTimes(2);