From ad57f5f9b359166c2842176f9ea79f1d77dcb372 Mon Sep 17 00:00:00 2001 From: Jason Humbert <178896864+jhumbert-dd@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:05:37 +0000 Subject: [PATCH] update test case --- test-resources/src/dequeue/tests/dequeueHandler.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test-resources/src/dequeue/tests/dequeueHandler.test.ts b/test-resources/src/dequeue/tests/dequeueHandler.test.ts index 9c38e7624..937d793e2 100644 --- a/test-resources/src/dequeue/tests/dequeueHandler.test.ts +++ b/test-resources/src/dequeue/tests/dequeueHandler.test.ts @@ -78,8 +78,7 @@ describe("Dequeue TxMA events", () => { }); describe("Given there are no messages to be processed", () => { - it("Logs an error message", async () => { - mockDbClient.on(PutItemCommand).rejects("Error writing to database"); + it("Logs an empty array", async () => { const event: SQSEvent = { Records: [], };