3 * Copyright (c) 2019, Microsoft Corporation (MIT License).
5 Object.defineProperty(exports, "__esModule", { value: true });
6 function pollUntil(cb, timeout, interval) {
7 return new Promise(function (resolve, reject) {
8 var intervalId = setInterval(function () {
10 clearInterval(intervalId);
11 clearTimeout(timeoutId);
15 var timeoutId = setTimeout(function () {
16 clearInterval(intervalId);
26 exports.pollUntil = pollUntil;
27 //# sourceMappingURL=testUtils.test.js.map