MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / wait

Function wait

test/main/idle-timeout-spawn.test.mjs:14–16  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

12const PROJECT_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), "../..");
13
14function wait(ms) {
15 return new Promise((resolve) => setTimeout(resolve, ms));
16}
17
18function createTestScript(withFix) {
19 const buildPath = join(PROJECT_ROOT, "build/core/process-lifecycle.js").replace(/\\/g, "/");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected