diff --git a/packages/coding-agent/test/selector-controller-tree-summary.test.ts b/packages/coding-agent/test/selector-controller-tree-summary.test.ts index 325c20200..4e457b012 100644 --- a/packages/coding-agent/test/selector-controller-tree-summary.test.ts +++ b/packages/coding-agent/test/selector-controller-tree-summary.test.ts @@ -44,7 +44,7 @@ function userNode(id: string, parentId: string | null, text: string): SessionTre type NavigateTree = ( entryId: string, - options: { summarize: boolean; customInstructions: string | undefined }, + options: { summarize: boolean; customInstructions: string | undefined; allowAskReopen: boolean }, ) => Promise<{ cancelled: boolean }>; type ShowHookSelector = (title: string, options: string[]) => Promise; @@ -131,6 +131,7 @@ describe("SelectorController tree branch summaries", () => { expect(harness.navigateTree).toHaveBeenCalledWith("root", { summarize: false, customInstructions: undefined, + allowAskReopen: true, }); }); @@ -145,6 +146,7 @@ describe("SelectorController tree branch summaries", () => { expect(harness.navigateTree).toHaveBeenCalledWith("root", { summarize: true, customInstructions: undefined, + allowAskReopen: true, }); }); @@ -160,6 +162,7 @@ describe("SelectorController tree branch summaries", () => { expect(harness.navigateTree).toHaveBeenCalledWith("root", { summarize: true, customInstructions: undefined, + allowAskReopen: true, }); }); @@ -179,6 +182,7 @@ describe("SelectorController tree branch summaries", () => { expect(harness.navigateTree).toHaveBeenCalledWith("root", { summarize: true, customInstructions: undefined, + allowAskReopen: true, }); }); });