mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-03 16:10:05 +00:00
Update react monorepo (#29765)
* Update react monorepo * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -45,9 +45,11 @@ describe("useUserDirectory", () => {
|
||||
act(() => {
|
||||
result.current.search({ limit: 1, query });
|
||||
});
|
||||
await waitFor(() => expect(result.current.ready).toBe(true));
|
||||
await waitFor(() => {
|
||||
expect(result.current.ready).toBe(true);
|
||||
expect(result.current.loading).toBe(false);
|
||||
});
|
||||
|
||||
expect(result.current.loading).toBe(false);
|
||||
expect(result.current.users[0].name).toBe(query);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user