Skip to content

Commit 43fcabc

Browse files
Fixing tests
1 parent db1676b commit 43fcabc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mock-builders/mock.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const getTestClient = () => mockClient(new StreamChat(apiKey));
3333
export const getTestClientWithUser = async (user) => {
3434
const client = mockClient(new StreamChat(apiKey));
3535
await setUser(client, user);
36+
client.wsPromise = Promise.resolve();
3637
return client;
3738
};
3839

0 commit comments

Comments
 (0)