test: Add mock for getCurrentBranch in pipeline orchestrator tests

This commit is contained in:
gsxdsm
2026-02-16 13:35:49 -08:00
parent ab5d6a0e54
commit 67dd628115

View File

@@ -165,6 +165,7 @@ describe('PipelineOrchestrator', () => {
mockWorktreeResolver = {
findWorktreeForBranch: vi.fn().mockResolvedValue('/test/worktree'),
getCurrentBranch: vi.fn().mockResolvedValue('main'),
} as unknown as WorktreeResolver;
mockConcurrencyManager = {