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

Function act

packages/forms/signals/test/web/number_input.spec.ts:311–317  ·  view source on GitHub ↗
(fn: () => T)

Source from the content-addressed store, hash-verified

309});
310
311function act<T>(fn: () => T): T {
312 try {
313 return fn();
314 } finally {
315 TestBed.tick();
316 }
317}

Callers 1

Calls 2

tickMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected