Returns a promise that resolves after all currently scheduled asynchronous callbacks have executed.
This function is useful in tests to wait for the execution of side effects triggered by an asynchronous watch or an effect.
watch
effect
Returns a promise that resolves after all currently scheduled asynchronous callbacks have executed.
This function is useful in tests to wait for the execution of side effects triggered by an asynchronous
watch
or aneffect
.