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

Function act

packages/forms/signals/test/node/form_root.spec.ts:147–153  ·  view source on GitHub ↗
(fn: () => T)

Source from the content-addressed store, hash-verified

145});
146
147function act<T>(fn: () => T): T {
148 try {
149 return fn();
150 } finally {
151 TestBed.tick();
152 }
153}

Callers 1

form_root.spec.tsFile · 0.70

Calls 2

tickMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected