revert unrelated test changes

This commit is contained in:
Dax Raad
2026-05-12 21:10:13 -04:00
parent 273ffc30ea
commit c609b48dc8
4 changed files with 24 additions and 47 deletions
@@ -26,7 +26,7 @@ export function callAuthProbe(scenario: ActiveScenario, credentials: "missing" |
toAuthProbeRequest(scenario, credentials, controller.signal),
),
).then((response) => capture(response, scenario.capture)),
Bun.sleep(5_000).then(() => {
Bun.sleep(1_000).then(() => {
controller.abort("auth probe timed out")
return {
status: 0,
@@ -80,7 +80,6 @@ describe("worktree endpoint reproduction", () => {
body: JSON.stringify({}),
}),
"direct worktree create",
15_000,
)
expect(response.status).toBe(200)
@@ -103,7 +102,7 @@ describe("worktree endpoint reproduction", () => {
body: JSON.stringify({ type: "worktree", branch: null }),
}),
"workspace worktree create",
15_000,
8_000,
)
expect(response.status).toBe(200)