mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-15 04:20:57 -07:00
refactor(cli): migrate core tools to native ToolDisplay property and fix UI rendering (#25186)
This commit is contained in:
@@ -504,6 +504,13 @@ EOF`;
|
||||
const result = await promise;
|
||||
expect(result.llmContent).toContain('Error: wrapped command failed');
|
||||
expect(result.llmContent).not.toContain('pgrep');
|
||||
expect(result.display).toEqual(
|
||||
expect.objectContaining({
|
||||
name: 'Shell',
|
||||
description: 'user-command',
|
||||
resultSummary: 'Exit Code: 1',
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
it('should return a SHELL_EXECUTE_ERROR for a command failure', async () => {
|
||||
|
||||
Reference in New Issue
Block a user