mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-04 15:16:49 -07:00
test(cli): fix ToolResultDisplay tests and run only it in CI
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user