Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ act
Function
act
packages/core/test/resource/params_status_spec.ts:122–126 ·
view source on GitHub ↗
(fn: () => T)
Source
from the content-addressed store, hash-verified
120
});
121
122
async
function
act<T>(fn: () => T): Promise<T> {
123
const
result = fn();
124
await
TestBed.inject(ApplicationRef).whenStable();
125
return
result;
126
}
Callers
1
params_status_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