| ... | @@ -759,18 +759,6 @@ it.layer(TestLayer)("GitVcsDriver core integration", (it) => { | ... | @@ -759,18 +759,6 @@ it.layer(TestLayer)("GitVcsDriver core integration", (it) => { |
| 759 | assert.notInclude(error.detail, "Git command failed in"); | 759 | assert.notInclude(error.detail, "Git command failed in"); |
| 760 | }), | 760 | }), |
| 761 | ); | 761 | ); |
| 762 | | | |
| 763 | it.effect("treats removing an already-gone worktree as a no-op", () => | | |
| 764 | Effect.gen(function* () { | | |
| 765 | const cwd = yield* makeTmpDir(); | | |
| 766 | const pathService = yield* Path.Path; | | |
| 767 | const missingWorktree = pathService.join(cwd, "missing-worktree"); | | |
| 768 | const driver = yield* GitVcsDriver.GitVcsDriver; | | |
| 769 | yield* driver.initRepo({ cwd }); | | |
| 770 | | | |
| 771 | yield* driver.removeWorktree({ cwd, path: missingWorktree }); | | |
| 772 | }), | | |
| 773 | ); | | |
| 774 | }); | 762 | }); |
| 775 | | 763 | |
| 776 | describe("review diff previews", () => { | 764 | describe("review diff previews", () => { |