Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/components
/ waitForMicrotasks
Function
waitForMicrotasks
src/aria/private/testing/test-helpers.ts:13–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
* Useful
for
testing
async
behaviors without relying on Zone.js.
12
*/
13
export
function
waitForMicrotasks(): Promise<void> {
14
return
new
Promise(resolve => setTimeout(resolve, 0));
15
}
Callers
10
toolbar.spec.ts
File · 0.90
accordion.spec.ts
File · 0.90
grid.spec.ts
File · 0.90
menu.spec.ts
File · 0.90
keydown
Function · 0.90
click
Function · 0.90
collection.spec.ts
File · 0.90
listbox.spec.ts
File · 0.90
tabs.spec.ts
File · 0.90
tree.spec.ts
File · 0.90
Calls
no outgoing calls
Tested by
2
keydown
Function · 0.72
click
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…