MCPcopy Index your code
hub / github.com/angular/angular / resetFakeAsyncZoneIfExists

Function resetFakeAsyncZoneIfExists

packages/core/testing/src/fake_async.ts:38–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export function resetFakeAsyncZoneIfExists(): void {
39 if (getFakeAsyncTestModule() && (Zone as any)['ProxyZoneSpec']?.isLoaded()) {
40 getFakeAsyncTestModule().resetFakeAsyncZone();
41 }
42}
43
44/**
45 * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner

Callers 1

getCleanupHookFunction · 0.90

Calls 2

getFakeAsyncTestModuleFunction · 0.85
isLoadedMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…