test(cli): fix ToolResultDisplay tests and run only it in CI

This commit is contained in:
mkorwel
2026-04-16 21:40:07 +00:00
parent 38abb65806
commit 12f53606d4
5 changed files with 39 additions and 36 deletions
+3 -1
View File
@@ -655,6 +655,7 @@ export const renderWithProviders = async (
persistentState,
appState = mockAppState,
clearScreenOnRender = true,
allowEmptyFrame = false,
}: {
shellFocus?: boolean;
settings?: LoadedSettings;
@@ -677,6 +678,7 @@ export const renderWithProviders = async (
};
appState?: AppState;
clearScreenOnRender?: boolean;
allowEmptyFrame?: boolean;
} = {},
): Promise<RenderWithProvidersInstance> => {
const baseState: UIState = new Proxy(
@@ -839,7 +841,7 @@ export const renderWithProviders = async (
wrapWithProviders(component),
terminalWidth,
terminalHeight,
false,
allowEmptyFrame,
clearScreenOnRender,
);