Visitar URL original
resetFakeAsyncZone • Angular
The Wayback Machine - https://web.archive.org/web/20260719032459/https://angular.dev/api/core/testing/resetFakeAsyncZone
    • Overview
@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.

Jump to details