chore: 清理残余文件

This commit is contained in:
2026-03-21 20:26:20 +08:00
parent c265de6a84
commit fd70c1ad41
957 changed files with 117441 additions and 0 deletions

28
node_modules/node-pty/lib/testUtils.test.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
"use strict";
/**
* Copyright (c) 2019, Microsoft Corporation (MIT License).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.pollUntil = void 0;
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