Skip to content

Commit 67e7caf

Browse files
committed
fix(test): mock isTmuxHealthy in unit test resumePlan for CI compatibility
1 parent ccd844a commit 67e7caf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/lib/orchestrator.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ describe('orchestrator', () => {
575575
planId: 'plan-1',
576576
},
577577
];
578+
spyOn(tmuxMod, 'isTmuxHealthy').mockResolvedValue(true);
578579
spyOn(tmuxMod, 'isPaneRunning').mockResolvedValue(false);
579580

580581
const orchestrator = new Orchestrator(monitor as any, {

0 commit comments

Comments
 (0)