summaryrefslogtreecommitdiff
path: root/packages/cli/src/config/config.test.ts
diff options
context:
space:
mode:
authorDaniel Lee <[email protected]>2025-07-28 18:40:47 -0700
committerGitHub <[email protected]>2025-07-29 01:40:47 +0000
commit7356764a489b47bc43dae9e9653380cbe9bce294 (patch)
treeded97cfbfecf19c68f5b495950906f64088dafad /packages/cli/src/config/config.test.ts
parent871e0dfab811192f67cd80bc270580ad784ffdc8 (diff)
feat(commands): add custom commands support for extensions (#4703)
Diffstat (limited to 'packages/cli/src/config/config.test.ts')
-rw-r--r--packages/cli/src/config/config.test.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/cli/src/config/config.test.ts b/packages/cli/src/config/config.test.ts
index 55780320..7f47660d 100644
--- a/packages/cli/src/config/config.test.ts
+++ b/packages/cli/src/config/config.test.ts
@@ -35,6 +35,11 @@ vi.mock('@google/gemini-cli-core', async () => {
);
return {
...actualServer,
+ IdeClient: vi.fn().mockImplementation(() => ({
+ getConnectionStatus: vi.fn(),
+ initialize: vi.fn(),
+ shutdown: vi.fn(),
+ })),
loadEnvironment: vi.fn(),
loadServerHierarchicalMemory: vi.fn(
(cwd, debug, fileService, extensionPaths, _maxDirs) =>