Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hhassan01 committed Aug 30, 2024
1 parent d950757 commit 3dca11d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/handlers/createTransactions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
6 changes: 3 additions & 3 deletions tests/services/transactionsService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dca11d

Please sign in to comment.