From 3dca11d7c8bf55e8eb7ad955ece1caf12b07d926 Mon Sep 17 00:00:00 2001 From: hhassan01 Date: Fri, 30 Aug 2024 09:55:55 +0500 Subject: [PATCH] changes --- tests/handlers/createTransactions.test.ts | 6 +++--- tests/services/transactionsService.test.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/handlers/createTransactions.test.ts b/tests/handlers/createTransactions.test.ts index a25b71a..493e2a1 100644 --- a/tests/handlers/createTransactions.test.ts +++ b/tests/handlers/createTransactions.test.ts @@ -9,9 +9,9 @@ jest.mock('aws-sdk', () => { const EventBridge = { putEvents: jest.fn().mockReturnThis(), promise: jest.fn().mockResolvedValue({}), - }; - return { EventBridge: jest.fn(() => EventBridge) }; -}); + } + return { EventBridge: jest.fn(() => EventBridge) } +}) describe('createTransactionHandler', () => { beforeAll(async () => { diff --git a/tests/services/transactionsService.test.ts b/tests/services/transactionsService.test.ts index 940ca76..0242503 100644 --- a/tests/services/transactionsService.test.ts +++ b/tests/services/transactionsService.test.ts @@ -15,9 +15,9 @@ jest.mock('aws-sdk', () => { const EventBridge = { putEvents: jest.fn().mockReturnThis(), promise: jest.fn().mockResolvedValue({}), - }; - return { EventBridge: jest.fn(() => EventBridge) }; -}); + } + return { EventBridge: jest.fn(() => EventBridge) } +}) describe('TransactionsService', () => { let transactionsService: TransactionsService