MCPcopy
hub / github.com/angular/angular / testFn

Function testFn

packages/zone.js/test/zone-spec/async-test.spec.ts:146–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144
145 it('should not call done multiple times in sync test', (done) => {
146 const testFn = () => {
147 Zone.current.run(() => {});
148 Zone.current.run(() => {});
149 };
150 let doneCalledCount = 0;
151 const testZoneSpec = new AsyncTestZoneSpec(
152 () => {

Callers

nothing calls this directly

Calls 4

setDelegateMethod · 0.80
runMethod · 0.65
thenMethod · 0.65
resolveMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…