mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-16 14:27:24 -07:00
ci: update verified tests list and fix 4 more files
This commit is contained in:
@@ -12,6 +12,9 @@ describe('ConsoleSummaryDisplay', () => {
|
||||
it('renders nothing when errorCount is 0', async () => {
|
||||
const { lastFrame, unmount } = await render(
|
||||
<ConsoleSummaryDisplay errorCount={0} />,
|
||||
undefined,
|
||||
undefined,
|
||||
true,
|
||||
);
|
||||
expect(lastFrame({ allowEmpty: true })).toBe('');
|
||||
unmount();
|
||||
|
||||
@@ -242,7 +242,12 @@ describe('DebugProfiler Component', () => {
|
||||
showDebugProfiler: false,
|
||||
constrainHeight: false,
|
||||
} as unknown as UIState);
|
||||
const { lastFrame, unmount } = await render(<DebugProfiler />);
|
||||
const { lastFrame, unmount } = await render(
|
||||
<DebugProfiler />,
|
||||
undefined,
|
||||
undefined,
|
||||
true,
|
||||
);
|
||||
expect(lastFrame({ allowEmpty: true })).toBe('');
|
||||
unmount();
|
||||
});
|
||||
|
||||
@@ -448,6 +448,7 @@ describe('<Footer />', () => {
|
||||
const { lastFrame, unmount } = await renderWithProviders(<Footer />, {
|
||||
config: mockConfig,
|
||||
width: 120,
|
||||
allowEmptyFrame: true,
|
||||
uiState: { sessionStats: mockSessionStats },
|
||||
settings: createMockSettings({
|
||||
ui: {
|
||||
@@ -826,6 +827,7 @@ describe('<Footer />', () => {
|
||||
const { lastFrame, unmount } = await renderWithProviders(<Footer />, {
|
||||
config: mockConfig,
|
||||
width: 120,
|
||||
allowEmptyFrame: true,
|
||||
uiState: { sessionStats: mockSessionStats },
|
||||
settings: createMockSettings({
|
||||
ui: {
|
||||
|
||||
@@ -248,6 +248,7 @@ describe('<HistoryItemDisplay />', () => {
|
||||
terminalWidth={80}
|
||||
isPending={false}
|
||||
/>,
|
||||
{ allowEmptyFrame: true },
|
||||
);
|
||||
|
||||
const passedProps = vi.mocked(ToolGroupMessage).mock.calls[0][0];
|
||||
@@ -305,6 +306,7 @@ describe('<HistoryItemDisplay />', () => {
|
||||
<HistoryItemDisplay {...baseItem} item={item} />,
|
||||
{
|
||||
settings: createMockSettings({ ui: { inlineThinkingMode: 'off' } }),
|
||||
allowEmptyFrame: true,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user