[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/testing/resetFakeAsyncZone [Back]  [Original]

resetFakeAsyncZone Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core/testing

resetFakeAsyncZone

function
stable

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

On this page

    arrow_upward_alt Back to the top

    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

    Web Proxy Viewer  |  New URL  |  Original Page