fix(KB-600): remove duplicate mockedGenerateWorktreeName declaration in executor tests

- Remove redundant const mockedGenerateWorktreeName declaration
- Duplicate was causing potential confusion in worktree naming tests
- No functional changes, test cleanup only
This commit is contained in:
gsxdsm
2026-03-31 18:42:24 -07:00
parent cc6029ef68
commit 3b0637a1f1

View File

@@ -381,8 +381,6 @@ describe("TaskExecutor worktree naming", () => {
...(worktree ? { worktree } : {}),
});
const mockedGenerateWorktreeName = vi.mocked(generateWorktreeName);
beforeEach(() => {
vi.clearAllMocks();
mockedExistsSync.mockReturnValue(false);