Last active
June 30, 2022 20:40
-
-
Save nemrosim/37a7fcf5a84b2f9a773e47fa02f78b9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expect(result.current.isTrue).toBe(false); | |
- await waitForNextUpdate(); | |
+ await waitForNextUpdate({ | |
+ timeout: 2500, | |
+ }); | |
expect(result.current.isTrue).toBe(true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment