• Genel Bakış
@angular/core/testing

flushMicrotasks

function
kararlı

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.

Detaylara atla