quitando basura del index
[VSoRC/.git] / node_modules / node-pty / lib / testUtils.test.js
diff --git a/node_modules/node-pty/lib/testUtils.test.js b/node_modules/node-pty/lib/testUtils.test.js
deleted file mode 100644 (file)
index b861d36..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-"use strict";
-/**
- * Copyright (c) 2019, Microsoft Corporation (MIT License).
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-function pollUntil(cb, timeout, interval) {
-    return new Promise(function (resolve, reject) {
-        var intervalId = setInterval(function () {
-            if (cb()) {
-                clearInterval(intervalId);
-                clearTimeout(timeoutId);
-                resolve();
-            }
-        }, interval);
-        var timeoutId = setTimeout(function () {
-            clearInterval(intervalId);
-            if (cb()) {
-                resolve();
-            }
-            else {
-                reject();
-            }
-        }, timeout);
-    });
-}
-exports.pollUntil = pollUntil;
-//# sourceMappingURL=testUtils.test.js.map
\ No newline at end of file