Skip to content

Commit

Permalink
update socket provider test (#6614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex authored Nov 23, 2023
1 parent 2785782 commit f8d8774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web3-utils/test/unit/socket_provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ describe('SocketProvider', () => {

// @ts-expect-error run protected method
expect(provider._sentRequestsQueue.size).toBe(1);
expect(provider.getSentRequestsQueueSize).toBe(1);
expect(provider.getSentRequestsQueueSize()).toBe(1);

provider.on('error', () => {
// nothing
Expand All @@ -335,7 +335,7 @@ describe('SocketProvider', () => {
expect(provider.getPendingRequestQueueSize()).toBe(0);
// @ts-expect-error run protected method
expect(provider._sentRequestsQueue.size).toBe(0);
expect(provider.getSentRequestsQueueSize).toBe(0);
expect(provider.getSentRequestsQueueSize()).toBe(0);
});
});
});
Expand Down

0 comments on commit f8d8774

Please sign in to comment.