diff --git a/packages/cli/src/utils/commentJson.test.ts b/packages/cli/src/utils/commentJson.test.ts index f996087657..4957b74973 100644 --- a/packages/cli/src/utils/commentJson.test.ts +++ b/packages/cli/src/utils/commentJson.test.ts @@ -41,14 +41,14 @@ describe('commentJson', () => { fs.writeFileSync(testFilePath, originalContent, 'utf-8'); updateSettingsFilePreservingFormat(testFilePath, { - model: 'gemini-3.0-ultra', + model: 'gemini-2.5-flash', }); const updatedContent = fs.readFileSync(testFilePath, 'utf-8'); expect(updatedContent).toContain('// Model configuration'); expect(updatedContent).toContain('// Theme setting'); - expect(updatedContent).toContain('"model": "gemini-3.0-ultra"'); + expect(updatedContent).toContain('"model": "gemini-2.5-flash"'); expect(updatedContent).toContain('"theme": "dark"'); }); @@ -119,7 +119,7 @@ describe('commentJson', () => { fs.writeFileSync(testFilePath, complexContent, 'utf-8'); updateSettingsFilePreservingFormat(testFilePath, { - model: 'gemini-3.0-ultra', + model: 'gemini-2.5-flash', mcpServers: { context7: { headers: { @@ -140,7 +140,7 @@ describe('commentJson', () => { expect(updatedContent).toContain('// API key'); // Verify updates applied - expect(updatedContent).toContain('"model": "gemini-3.0-ultra"'); + expect(updatedContent).toContain('"model": "gemini-2.5-flash"'); expect(updatedContent).toContain('"newSection"'); expect(updatedContent).toContain('"API_KEY": "new-test-key"'); }); @@ -161,7 +161,7 @@ describe('commentJson', () => { expect(() => { updateSettingsFilePreservingFormat(testFilePath, { - model: 'gemini-3.0-ultra', + model: 'gemini-2.5-flash', }); }).not.toThrow();