UNPKG

522 BJavaScriptView Raw
1"use strict";
2// Copyright (c) Jupyter Development Team.
3// Distributed under the terms of the Modified BSD License.
4Object.defineProperty(exports, "__esModule", { value: true });
5exports.sleep = void 0;
6function sleep(milliseconds = 0,
7// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
8value) {
9 return new Promise((resolve, reject) => {
10 setTimeout(() => {
11 resolve(value);
12 }, milliseconds);
13 });
14}
15exports.sleep = sleep;
16//# sourceMappingURL=testutils.js.map
\No newline at end of file