MCPcopy
hub / github.com/final-form/final-form / sleep

Function sleep

src/FinalForm.subscribing.test.ts:4–4  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

2import { FORM_ERROR } from "./constants";
3
4const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
5const onSubmitMock = (values, callback) => {};
6
7describe("FinalForm.subscribing", () => {

Callers 2

onSubmitFunction · 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…