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

Function act

packages/forms/signals/test/web/field_proxy.spec.ts:63–69  ·  view source on GitHub ↗
(fn: () => T)

Source from the content-addressed store, hash-verified

61});
62
63function act<T>(fn: () => T): T {
64 try {
65 return fn();
66 } finally {
67 TestBed.tick();
68 }
69}

Callers 1

Calls 2

tickMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected