Skip to content

Commit

Permalink
test: repair lint
Browse files Browse the repository at this point in the history
  • Loading branch information
penovicp committed Jul 30, 2024
1 parent 613f4de commit aa88d5f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions __tests__/utils/batch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ describe('Batch Client', () => {
});

test('batch request using Provider', async () => {
const myBatchProvider = getTestProvider(false, {
batch: 0,
});
const myBatchProvider = getTestProvider(false, { batch: 0 });

// eslint-disable-next-line @typescript-eslint/dot-notation
const sendBatchSpy = jest.spyOn(myBatchProvider.channel['batchClient'] as any, 'sendBatch');
const sendBatchSpy = jest.spyOn((myBatchProvider.channel as any).batchClient, 'sendBatch');

await Promise.all([
myBatchProvider.getBlock(),
Expand Down

0 comments on commit aa88d5f

Please sign in to comment.