Skip to content

Commit

Permalink
fix: Remove unneeded waitFor
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-glazier committed Apr 15, 2024
1 parent 2ce816a commit 96665e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSetUserProfileEffect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@ test('not set the username if it is already set', async () => {
});

renderHook(() => useSetUserProfileEffect());
await waitFor(() => expect(updateUser).not.toHaveBeenCalled());
expect(updateUser).not.toHaveBeenCalled();
});

0 comments on commit 96665e2

Please sign in to comment.