Skip to content

Commit

Permalink
chore(core): Remove eslint warnings (#8515)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Jul 12, 2023
1 parent 5f7a0fb commit f0862a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core/test/lib/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' };
Expand Down Expand Up @@ -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' };
Expand Down Expand Up @@ -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');
});
Expand Down Expand Up @@ -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 });
});
Expand Down

0 comments on commit f0862a1

Please sign in to comment.