• Vue d'ensemble
@angular/core/testing

resetFakeAsyncZone

function
stable

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

API

function resetFakeAsyncZone(): void;
@returnsvoid

Description

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

Clears out the shared fake async zone for a test. To be called in a global beforeEach.

Aller aux détails