MCPcopy Index your code
hub / github.com/angular/components / wait

Function wait

src/material/input/input.spec.ts:1494–1494  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

1492
1493 it('should update notch size after changing appearance to outline', async () => {
1494 const wait = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
1495 const fixture = TestBed.createComponent(MatInputWithAppearance);
1496 fixture.detectChanges();
1497 await wait(16);

Callers 1

input.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…