Function: waitSchedule()
waitSchedule():
Promise<void>
Wait for the next event loop.
It will be useful when you want to wait for the next event loop to finish.
Returns
Promise<void>
Deprecated
Please use act instead