MCPcopy Create free account
hub / github.com/angular/angular / resetFakeAsyncZone

Function resetFakeAsyncZone

packages/zone.js/lib/zone-spec/fake-async-test.ts:921–928  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

919 * @experimental
920 */
921export function resetFakeAsyncZone() {
922 if (_fakeAsyncTestZoneSpec) {
923 _fakeAsyncTestZoneSpec.unlockDatePatch();
924 }
925 _fakeAsyncTestZoneSpec = null;
926 getProxyZoneSpec()?.get()?.resetDelegate();
927 _sharedProxyZoneSpec?.resetDelegate();
928}
929
930/**
931 * Wraps a function to be executed in the fakeAsync zone:

Callers 1

fakeAsyncFnFunction · 0.70

Calls 4

getProxyZoneSpecFunction · 0.85
unlockDatePatchMethod · 0.80
resetDelegateMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected