chore: Update and fix the things

This commit is contained in:
J H
2024-03-28 10:40:47 -06:00
parent f41f5ebebd
commit 65ca038eee
9 changed files with 15 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ export function successFailure(o: {
beforeSuccess.next()
for (
let res = await beforeSuccess.next();
currentValue?.lastResult !== "passing" && !res.done;
currentValue?.lastResult !== "success" && !res.done;
res = await beforeSuccess.next()
) {
yield
@@ -21,7 +21,7 @@ export function successFailure(o: {
const duringError = o.duringError(getInput)
for (
let res = await duringError.next();
currentValue?.lastResult === "passing" && !res.done;
currentValue?.lastResult === "success" && !res.done;
res = await duringError.next()
) {
yield