MCPcopy
hub / github.com/webpack/webpack-dev-server / delay

Function delay

test/e2e/overlay.test.js:72–75  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

70}
71
72const delay = (ms) =>
73 new Promise((resolve) => {
74 setTimeout(resolve, ms);
75 });
76
77describe("overlay", () => {
78 it("should show a warning for initial compilation", async (t) => {

Callers 1

overlay.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…