MCPcopy
hub / github.com/angular/angular / act

Function act

packages/forms/signals/test/web/compat_form.spec.ts:91–97  ·  view source on GitHub ↗
(fn: () => T)

Source from the content-addressed store, hash-verified

89});
90
91function act<T>(fn: () => T): T {
92 try {
93 return fn();
94 } finally {
95 TestBed.tick();
96 }
97}

Callers 1

Calls 2

tickMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected