From 61d5e2291a2cb332c865c2230758e242af1ccce0 Mon Sep 17 00:00:00 2001 From: George Fu Date: Fri, 15 Sep 2023 13:58:02 -0400 Subject: [PATCH] chore(middleware-sdk-s3): fix integ test (#5224) --- .../middleware-sdk-s3/src/middleware-sdk-s3.integ.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/middleware-sdk-s3/src/middleware-sdk-s3.integ.spec.ts b/packages/middleware-sdk-s3/src/middleware-sdk-s3.integ.spec.ts index 84df5c20f4549..d048aa1466921 100644 --- a/packages/middleware-sdk-s3/src/middleware-sdk-s3.integ.spec.ts +++ b/packages/middleware-sdk-s3/src/middleware-sdk-s3.integ.spec.ts @@ -33,8 +33,12 @@ describe("middleware-sdk-s3", () => { it("warns on input streams of unknown length", async () => { const client = new S3({ region: "us-west-2", - logger: Object.assign(new NoOpLogger(), { + logger: Object.assign({ + trace: jest.fn(), + debug: jest.fn(), + info: jest.fn(), warn: jest.fn(), + error: jest.fn(), }), });