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

Function act

packages/forms/signals/test/web/signal_form_control_web.spec.ts:127–133  ·  view source on GitHub ↗
(fn: () => T)

Source from the content-addressed store, hash-verified

125});
126
127function act<T>(fn: () => T): T {
128 try {
129 return fn();
130 } finally {
131 TestBed.tick();
132 }
133}

Callers 1

Calls 2

tickMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected