MCPcopy
hub / github.com/dai-shi/react-tracked / sleep

Function sleep

tests/e2e/13_saga.ts:7–10  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

5describe('13_saga', () => {
6 const port = process.env.PORT || '8080';
7 const sleep = (ms: number) =>
8 new Promise((r) => {
9 setTimeout(r, ms);
10 });
11
12 it('should work with recorded events', async () => {
13 // eslint-disable-next-line import/no-named-as-default-member

Callers 1

13_saga.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…