diff options
| author | Shreya Keshive <[email protected]> | 2025-08-12 17:08:07 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-12 21:08:07 +0000 |
| commit | 3a87712c1a15dac9f0a717b40fbf9e59398177ca (patch) | |
| tree | 44a0f199403b5b366d80bc8caf2b5d63242acba1 /packages/cli/src/config/config.test.ts | |
| parent | d219f9013206aad5a1361e436ad4a45114e9cd49 (diff) | |
Launch VS Code IDE Integration (#6063)
Diffstat (limited to 'packages/cli/src/config/config.test.ts')
| -rw-r--r-- | packages/cli/src/config/config.test.ts | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/cli/src/config/config.test.ts b/packages/cli/src/config/config.test.ts index 701ae267..178980eb 100644 --- a/packages/cli/src/config/config.test.ts +++ b/packages/cli/src/config/config.test.ts @@ -1010,33 +1010,6 @@ describe('loadCliConfig model selection', () => { }); }); -describe('loadCliConfig ideModeFeature', () => { - const originalArgv = process.argv; - const originalEnv = { ...process.env }; - - beforeEach(() => { - vi.resetAllMocks(); - vi.mocked(os.homedir).mockReturnValue('/mock/home/user'); - process.env.GEMINI_API_KEY = 'test-api-key'; - delete process.env.SANDBOX; - delete process.env.GEMINI_CLI_IDE_SERVER_PORT; - }); - - afterEach(() => { - process.argv = originalArgv; - process.env = originalEnv; - vi.restoreAllMocks(); - }); - - it('should be false by default', async () => { - process.argv = ['node', 'script.js']; - const settings: Settings = {}; - const argv = await parseArguments(); - const config = await loadCliConfig(settings, [], 'test-session', argv); - expect(config.getIdeModeFeature()).toBe(false); - }); -}); - describe('loadCliConfig folderTrustFeature', () => { const originalArgv = process.argv; const originalEnv = { ...process.env }; |
