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

Function wait

src/material/sidenav/drawer.spec.ts:22–24  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

20import {MATERIAL_ANIMATIONS} from '../core';
21
22function wait(milliseconds: number) {
23 return new Promise(resolve => setTimeout(resolve, milliseconds));
24}
25
26describe('MatDrawer', () => {
27 beforeEach(() => {

Callers 1

drawer.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected