From d7c2fd48e52f0d6a7a1542e1b3253cd2c7392f25 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Wed, 3 Jul 2024 11:54:22 +0200 Subject: [PATCH] fix it, oops... --- packages/core/test/lib/base.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/test/lib/base.test.ts b/packages/core/test/lib/base.test.ts index cc25811acd31..3fa10828e32a 100644 --- a/packages/core/test/lib/base.test.ts +++ b/packages/core/test/lib/base.test.ts @@ -2026,7 +2026,7 @@ describe('BaseClient', () => { }), ); - const mockSend = jest.spyOn(client['_transport'], 'send').mockImplementation(() => { + const mockSend = jest.spyOn(client.getTransport()!, 'send').mockImplementation(() => { return Promise.resolve({ statusCode: 200 }); });