From d5a865b230967ef501a566b4f517f35371793f80 Mon Sep 17 00:00:00 2001 From: artale Date: Wed, 24 Jun 2026 23:40:09 +0200 Subject: [PATCH] test: stabilize worktree isolation checks --- src/fable5/worktree-isolation.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fable5/worktree-isolation.test.ts b/src/fable5/worktree-isolation.test.ts index d6daa18..bea948a 100644 --- a/src/fable5/worktree-isolation.test.ts +++ b/src/fable5/worktree-isolation.test.ts @@ -65,7 +65,7 @@ describe("worktree isolation", () => { manager.remove(spec.name); expect(fs.existsSync(wt)).toBe(false); expect(manager.list().map((item) => item.name)).not.toContain(spec.name); - }); + }, 30_000); it("creates and checks out a branch in a single step", () => { const { root: repo, worktrees } = mkRepo(); @@ -82,7 +82,7 @@ describe("worktree isolation", () => { manager.remove(spec.name); expect(fs.existsSync(expected)).toBe(false); - }); + }, 30_000); it("parses worktree list safely", () => { const { root: repo, worktrees } = mkRepo(); @@ -100,5 +100,5 @@ describe("worktree isolation", () => { expect(manager.list().map((item) => item.path.replace(/\\/g, "/"))).toContain(normalizedWt); manager.remove(spec.name); - }); + }, 30_000); });