From 57252d2c3d905532defa6a06eaed847bc8f52ecb Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Thu, 3 Sep 2026 02:49:24 -0700 Subject: [PATCH] fix(test): consolidate the duplicate worktree import in the parity test --- src/relay/git-branch-delete-refusal-parity.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/relay/git-branch-delete-refusal-parity.test.ts b/src/relay/git-branch-delete-refusal-parity.test.ts index 628535777e7..71344bca940 100644 --- a/src/relay/git-branch-delete-refusal-parity.test.ts +++ b/src/relay/git-branch-delete-refusal-parity.test.ts @@ -52,9 +52,8 @@ vi.mock('fs/promises', async () => { import { GitCapabilityCache } from '../shared/git-capability-cache' import type { RemoveWorktreeResult } from '../shared/worktree/create-types' import { clearGitCapabilityStateForTests } from '../main/git/git-capability-state' -import { _resetWorktreeScanCacheForTests } from '../main/git/worktree' +import { _resetWorktreeScanCacheForTests, removeWorktree } from '../main/git/worktree' import { __resetSparseCheckoutStateCacheForTests } from '../main/git/worktree-sparse-checkout-cache' -import { removeWorktree } from '../main/git/worktree' import type { GitExec } from './git-handler-ops' import { removeWorktreeOp } from './git-handler-worktree-ops'