Skip to content

Commit

Permalink
test: update expected arguments for connecting event
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Feb 12, 2024
1 parent 9ad853f commit f76bb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2051,7 +2051,7 @@ describe('events', () => {
);

expect(connectingFn).toBeCalledTimes(2);
expect(connectingFn.mock.calls[0].length).toBe(0);
expect(connectingFn.mock.calls[0].length).toBe(1);

expect(openedFn).toBeCalledTimes(2); // initial and registered listener
openedFn.mock.calls.forEach((cal) => {
Expand Down

0 comments on commit f76bb54

Please sign in to comment.