Searched refs:actualPromise (Results 1 – 6 of 6) sorted by relevance
18 function assertPromiseIsRejected(actualPromise) { argument19 if (!isPromiseLike(actualPromise)) {26 return Promise.race([actualPromise, Promise.resolve(helper)]).then(
18 function assertPromiseIsPending(actualPromise) { argument19 if (!isPromiseLike(actualPromise)) {26 return Promise.race([actualPromise, Promise.resolve(helper)]).then(
18 function assertPromiseIsResolved(actualPromise) { argument19 if (!isPromiseLike(actualPromise)) {27 return Promise.race([actualPromise, Promise.resolve(helper)]).then(
18 function assertPromiseIsRejectedWith(actualPromise, expectedValue) { argument20 if (!isPromiseLike(actualPromise)) {33 return Promise.race([actualPromise, Promise.resolve(helper)]).then(
18 function assertPromiseIsResolvedWith(actualPromise, expectedValue) { argument19 if (!isPromiseLike(actualPromise)) {33 return Promise.race([actualPromise, Promise.resolve(helper)]).then(
18 function assertPromiseIsRejectedWithError(actualPromise, expectedValue) { argument19 if (!isPromiseLike(actualPromise)) {26 return Promise.race([actualPromise, Promise.resolve(helper)]).then(