Skip to content

Function: nextTick()

nextTick(): Promise<void>

Defined in: wait-for.ts:7

Flush microtasks + one macrotask tick so Stimulus' MutationObserver observers and scheduled callbacks settle before the test continues.

Returns

Promise<void>

Released under the MIT License.