MCPcopy Create free account
hub / github.com/codecombat/codecombat / sleep

Function sleep

test/app/lib/cinematic/commandRunner.spec.js:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9})
10
11const sleep = ms => new Promise((resolve, reject) => setTimeout(resolve, ms))
12
13// Command that we use to test commandRunner functionality.
14class SpyCommand extends AbstractCommand {

Callers 2

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected