Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test update (followup #63) #64

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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