From 959c880e465e3d92f5bfb8d2dbd89c981d5056a5 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 12 Jul 2023 11:47:57 -0400 Subject: [PATCH] chore(core): Remove eslint warnings --- packages/core/test/lib/base.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/test/lib/base.test.ts b/packages/core/test/lib/base.test.ts index 162b53e4bb51..eed6b4cb3a2f 100644 --- a/packages/core/test/lib/base.test.ts +++ b/packages/core/test/lib/base.test.ts @@ -1673,7 +1673,7 @@ describe('BaseClient', () => { }), ); - // @ts-ignore + // @ts-expect-error Accessing private transport API const mockSend = jest.spyOn(client._transport, 'send'); const errorEvent: Event = { message: 'error' }; @@ -1701,7 +1701,7 @@ describe('BaseClient', () => { }), ); - // @ts-ignore + // @ts-expect-error Accessing private transport API const mockSend = jest.spyOn(client._transport, 'send'); const transactionEvent: Event = { type: 'transaction', event_id: 'tr1' }; @@ -1731,7 +1731,7 @@ describe('BaseClient', () => { }), ); - // @ts-ignore + // @ts-expect-error Accessing private transport API const mockSend = jest.spyOn(client._transport, 'send').mockImplementation(() => { return Promise.reject('send error'); }); @@ -1763,7 +1763,7 @@ describe('BaseClient', () => { }), ); - // @ts-ignore + // @ts-expect-error Accessing private transport API const mockSend = jest.spyOn(client._transport, 'send').mockImplementation(() => { return Promise.resolve({ statusCode: 200 }); });