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 db1676b commit 43fcabcCopy full SHA for 43fcabc
src/mock-builders/mock.js
@@ -33,6 +33,7 @@ export const getTestClient = () => mockClient(new StreamChat(apiKey));
33
export const getTestClientWithUser = async (user) => {
34
const client = mockClient(new StreamChat(apiKey));
35
await setUser(client, user);
36
+ client.wsPromise = Promise.resolve();
37
return client;
38
};
39
0 commit comments