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 84df5c20f454..d048aa146692 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(), }), });