diff --git a/packages/cli/src/ui/components/messages/SubagentGroupDisplay.test.tsx b/packages/cli/src/ui/components/messages/SubagentGroupDisplay.test.tsx index 484ca8a8ed..39bb111f72 100644 --- a/packages/cli/src/ui/components/messages/SubagentGroupDisplay.test.tsx +++ b/packages/cli/src/ui/components/messages/SubagentGroupDisplay.test.tsx @@ -67,6 +67,7 @@ describe('', () => { const renderSubagentGroup = async ( toolCallsToRender: IndividualToolCallDisplay[], height?: number, + allowEmptyFrame = false, ) => renderWithProviders( ', () => { availableTerminalHeight={height} isExpandable={true} />, + { allowEmptyFrame }, ); it('renders nothing if there are no agent tool calls', async () => { - const { lastFrame } = await renderSubagentGroup([], 40); + const { lastFrame } = await renderSubagentGroup([], 40, true); expect(lastFrame({ allowEmpty: true })).toBe(''); });