Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ act
Function
act
packages/forms/signals/test/web/interop.spec.ts:1445–1451 ·
view source on GitHub ↗
(fn: () => T)
Source
from the content-addressed store, hash-verified
1443
});
1444
1445
function
act<T>(fn: () => T): T {
1446
try {
1447
return
fn();
1448
} finally {
1449
TestBed.tick();
1450
}
1451
}
1452
1453
async
function
actAsync<T>(fn: () => T): Promise<T> {
1454
try {
Callers
1
interop.spec.ts
File · 0.70
Calls
2
tick
Method · 0.65
fn
Function · 0.50
Tested by
no test coverage detected