Skip to content

Commit

Permalink
chore: test update (followup #63) (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwhaley authored Jul 18, 2024
1 parent 28e8675 commit eca61e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion __tests__/wait.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ describe("wait", () => {
);
});

it("will wait for both in_progress and queued runs", async () => {
it("will wait for in_progress, queued, and waiting runs", async () => {
const existingRuns = [
{
id: 1,
Expand All @@ -213,6 +213,11 @@ describe("wait", () => {
status: "queued",
html_url: "2",
},
{
id: 3,
status: "waiting",
html_url: "3",
},
];
// Give the current run an id that makes it the last in the queue.
input.runId = existingRuns.length + 1;
Expand Down

0 comments on commit eca61e6

Please sign in to comment.