Skip to content

Commit 437531b

Browse files
committed
CCM-19812: Address review comment
1 parent 59a7c6e commit 437531b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • infrastructure/terraform/modules/eventpub/lambda/eventpub/src/__tests__

infrastructure/terraform/modules/eventpub/lambda/eventpub/src/__tests__/index.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ describe('SQS to EventBridge Lambda', () => {
6767
test('Invalid event is reported as a batch item failure', async () => {
6868
const result = await handler(sqsEventInvalid);
6969

70+
expect(eventBridgeMock.calls()).toHaveLength(0);
7071
expect(result.batchItemFailures).toHaveLength(1);
7172
expect(result.batchItemFailures[0].itemIdentifier).toBe('msg-1');
7273
});

0 commit comments

Comments
 (0)