vue-lynx/testing-library / waitForUpdate
Function: waitForUpdate()
Wait for all pending Vue reactive updates to flush through the pipeline. Use this after programmatic state changes (ref.value = X) that happen outside of event handlers.
Returns
Promise<void>
Defined in
packages/testing-library/src/render.ts:103