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

Function act

packages/forms/signals/test/web/reactive_fvc.spec.ts:760–766  ·  view source on GitHub ↗
(fn: () => T)

Source from the content-addressed store, hash-verified

758});
759
760function act<T>(fn: () => T): T {
761 try {
762 return fn();
763 } finally {
764 TestBed.tick();
765 }
766}

Callers 1

Calls 2

tickMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected