Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ act
Function
act
packages/forms/signals/test/node/parse_errors.spec.ts:414–418 ·
view source on GitHub ↗
(fn: () => T)
Source
from the content-addressed store, hash-verified
412
}
413
414
async
function
act<T>(fn: () => T): Promise<T> {
415
const
result = fn();
416
await
TestBed.inject(ApplicationRef).whenStable();
417
return
result;
418
}
Callers
1
parse_errors.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