MCPcopy Create free account
hub / github.com/angular/components / wait

Function wait

src/material/menu/menu.spec.ts:62–64  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

60 let overlayContainerElement: HTMLElement;
61
62 function wait(milliseconds: number) {
63 return new Promise(resolve => setTimeout(resolve, milliseconds));
64 }
65
66 beforeEach(() => {
67 TestBed.configureTestingModule({

Callers 1

menu.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected