Skip to content

Commit aea9657

Browse files
committed
fix generic args
1 parent 88bad25 commit aea9657

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/session.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ describe("Session", () => {
5050

5151
// eslint-disable-next-line @typescript-eslint/unbound-method
5252
const connectMock = MockNodeDriverServiceProvider.connect as jest.Mock<
53-
ReturnType<typeof NodeDriverServiceProvider.connect>,
54-
Parameters<typeof NodeDriverServiceProvider.connect>
53+
typeof NodeDriverServiceProvider.connect
5554
>;
5655
expect(connectMock).toHaveBeenCalledOnce();
5756
const connectionString = connectMock.mock.calls[0][0];

0 commit comments

Comments
 (0)