diff options
Diffstat (limited to 'packages/core/src/config/flashFallback.test.ts')
| -rw-r--r-- | packages/core/src/config/flashFallback.test.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/core/src/config/flashFallback.test.ts b/packages/core/src/config/flashFallback.test.ts index 0b68f993..5665a7e0 100644 --- a/packages/core/src/config/flashFallback.test.ts +++ b/packages/core/src/config/flashFallback.test.ts @@ -7,7 +7,7 @@ import { describe, it, expect, beforeEach, vi } from 'vitest'; import { Config } from './config.js'; import { DEFAULT_GEMINI_MODEL, DEFAULT_GEMINI_FLASH_MODEL } from './models.js'; -import { IdeClient } from '../ide/ide-client.js'; + import fs from 'node:fs'; vi.mock('node:fs'); @@ -26,7 +26,6 @@ describe('Flash Model Fallback Configuration', () => { debugMode: false, cwd: '/test', model: DEFAULT_GEMINI_MODEL, - ideClient: IdeClient.getInstance(false), }); // Initialize contentGeneratorConfig for testing @@ -51,7 +50,6 @@ describe('Flash Model Fallback Configuration', () => { debugMode: false, cwd: '/test', model: DEFAULT_GEMINI_MODEL, - ideClient: IdeClient.getInstance(false), }); // Should not crash when contentGeneratorConfig is undefined @@ -75,7 +73,6 @@ describe('Flash Model Fallback Configuration', () => { debugMode: false, cwd: '/test', model: 'custom-model', - ideClient: IdeClient.getInstance(false), }); expect(newConfig.getModel()).toBe('custom-model'); |
