We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe193f commit 25f1f5bCopy full SHA for 25f1f5b
packages/sdk/src/server/__tests__/server.test.ts
@@ -19,13 +19,7 @@ describe("ServerClient", () => {
19
secretKey: "test-secret-key",
20
};
21
22
- const mockClient = new ServerClient(params);
23
-
24
- const createClientSpy = jest.spyOn(serverModule, "createClient").mockReturnValue(mockClient);
25
26
const client = createClient(params);
27
28
- expect(createClientSpy).toHaveBeenCalledWith(params);
29
expect(client).toBeInstanceOf(ServerClient);
30
});
31
0 commit comments