Skip to content

Commit 73c4c85

Browse files
committed
fix: update integration branching test to match plan-scoped branch naming
1 parent d45b7ad commit 73c4c85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/lib/orchestrator.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,8 +777,8 @@ describe('orchestrator', () => {
777777
await (orchestrator as any).reconcile();
778778

779779
const calls = (worktreeMod.createWorktree as any).mock.calls;
780-
const noDepCall = calls.find((c: any) => c[0].branch === 'mc/no-deps');
781-
const withDepCall = calls.find((c: any) => c[0].branch === 'mc/with-deps');
780+
const noDepCall = calls.find((c: any) => c[0].branch.includes('no-deps'));
781+
const withDepCall = calls.find((c: any) => c[0].branch.includes('with-deps'));
782782

783783
expect(noDepCall[0].startPoint).toBe('def456');
784784
expect(withDepCall[0].startPoint).toBe('mc/integration-plan-1');

0 commit comments

Comments
 (0)