Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/angular
/ act
Function
act
packages/forms/signals/test/web/focus.spec.ts:312–316 ·
view source on GitHub ↗
(fn: () => T)
Source
from the content-addressed store, hash-verified
310
});
311
312
async
function
act<T>(fn: () => T): Promise<T> {
313
const
result = fn();
314
await
TestBed.inject(ApplicationRef).whenStable();
315
return
result;
316
}
Callers
1
focus.spec.ts
File · 0.70
Calls
3
whenStable
Method · 0.65
inject
Method · 0.65
fn
Function · 0.50
Tested by
no test coverage detected