Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jhumbert-dd committed Jan 10, 2025
1 parent 281121b commit ad57f5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test-resources/src/dequeue/tests/dequeueHandler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
};
Expand Down

0 comments on commit ad57f5f

Please sign in to comment.