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 }); });