summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts
diff options
context:
space:
mode:
authorBOYI <[email protected]>2025-07-22 06:26:40 +0800
committerGitHub <[email protected]>2025-07-21 22:26:40 +0000
commit12765eb77595aa3ef7c0fe4cb201410d71588753 (patch)
tree6802d6bbc2f216df950450c4d75b5d990015dc4f /packages/cli/src/ui/hooks/shellCommandProcessor.test.ts
parent4c3532d2b395859fb0d9db00bc5209f160ce2e29 (diff)
fix: character encoding issues in shell command processor (#1949)
Co-authored-by: Jacob Richman <[email protected]> Co-authored-by: Sandy Tao <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/hooks/shellCommandProcessor.test.ts')
-rw-r--r--packages/cli/src/ui/hooks/shellCommandProcessor.test.ts2
1 files changed, 2 insertions, 0 deletions
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', () => ({