• Vue d'ensemble
@angular/core/testing

flushMicrotasks

function
stable

Important : This API requires Zone.js and cannot be used with the Vitest test runner

API

function flushMicrotasks(): void;
@returnsvoid

Description

Important : This API requires Zone.js and cannot be used with the Vitest test runner

Flush any pending microtasks.

Aller aux détails