Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #5988 fix(nimbus): try to fix race condition in useChangeOperatio…
…nMutation tests (#5990) Because: * there seem to be intermittent test failures caused by async race conditions while attempting to use waitForNextUpdate() from @testing-library/react-hooks This commit: * swaps out usage of waitForNextUpdate() to test hook states in progress for testing the complete state history after everything is done
- Loading branch information
Showing
1 changed file
with
34 additions
and
58 deletions.
There are no files selected for viewing
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