The Wayback Machine - https://web.archive.org/web/20260308105047/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;

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
HTTPS · web.archive.org
← Home