Eliminate createServerConfig() (#821)

This commit is contained in:
Tommaso Sciortino
2025-06-07 13:49:00 -07:00
committed by GitHub
parent 10b52ac4e8
commit d6cf4d5b0b
4 changed files with 5 additions and 87 deletions

View File

@@ -34,7 +34,7 @@ vi.mock('@gemini-code/core', async () => {
return {
...actualServer,
loadEnvironment: vi.fn(),
createServerConfig: vi.fn((params) => ({
Config: vi.fn((params) => ({
// Mock the config object and its methods
getApiKey: () => params.apiKey,
getModel: () => params.model,