From 12765eb77595aa3ef7c0fe4cb201410d71588753 Mon Sep 17 00:00:00 2001 From: BOYI Date: Tue, 22 Jul 2025 06:26:40 +0800 Subject: fix: character encoding issues in shell command processor (#1949) Co-authored-by: Jacob Richman Co-authored-by: Sandy Tao --- packages/cli/src/ui/hooks/shellCommandProcessor.test.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/cli/src/ui/hooks/shellCommandProcessor.test.ts') diff --git a/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts b/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts index 53dcb0d4..5ebf2b1d 100644 --- a/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts +++ b/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts @@ -19,9 +19,11 @@ vi.mock('os', () => ({ default: { platform: () => 'linux', tmpdir: () => '/tmp', + homedir: () => '/home/user', }, platform: () => 'linux', tmpdir: () => '/tmp', + homedir: () => '/home/user', })); vi.mock('@google/gemini-cli-core'); vi.mock('../utils/textUtils.js', () => ({ -- cgit v1.2.3