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

Function wait

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

Source from the content-addressed store, hash-verified

1513
1514 it('should update notch size after changing appearance to outline', async () => {
1515 const wait = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
1516 const fixture = TestBed.createComponent(MatInputWithAppearance);
1517 fixture.detectChanges();
1518 await wait(16);

Callers 1

input.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected