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

Function wait

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

Source from the content-addressed store, hash-verified

1519
1520 it('should update notch size after changing appearance to outline', async () => {
1521 const wait = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
1522 const fixture = TestBed.createComponent(MatInputWithAppearance);
1523 fixture.detectChanges();
1524 await wait(16);

Callers 1

input.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected