SIGN IN SIGN UP

Update more tests to not rely on sync queuing (#26358)

This fixes a handful of tests that were accidentally relying on React
synchronously queuing work in the Scheduler after a setState.

Usually this is because they use a lower level SchedulerMock method
instead of either `act` or one of the `waitFor` helpers. In some cases,
the solution is to switch to those APIs. In other cases, if we're
intentionally testing some lower level behavior, we might have to be a
bit more clever.

Co-authored-by: Tianyu Yao <skyyao@fb.com>
A
Andrew Clark committed
a8875eab7f78a453d22370d1061a8bb3cd672b9d
Parent: d1ad984
Committed by GitHub <noreply@github.com> on 3/10/2023, 4:06:28 PM