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

Function wait

src/material/autocomplete/autocomplete.spec.ts:79–81  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

77 }
78
79 function wait(milliseconds: number) {
80 return new Promise(resolve => setTimeout(resolve, milliseconds));
81 }
82
83 describe('panel toggling', () => {
84 let fixture: ComponentFixture<SimpleAutocomplete>;

Callers 2

flushPositionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected