ci: update verified tests list and fix 4 more files

This commit is contained in:
mkorwel
2026-04-16 23:27:56 +00:00
parent 74f7a72f79
commit edd0c51bef
6 changed files with 24 additions and 9 deletions
@@ -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,
},
);