test(core): fix config mocks in client and web-fetch tests

This commit is contained in:
Aishanee Shah
2026-03-10 00:03:44 +00:00
parent 0aa7e008af
commit bf14963791
3 changed files with 5 additions and 0 deletions
@@ -248,6 +248,7 @@ describe('WebFetchTool', () => {
getProxy: vi.fn(),
getGeminiClient: mockGetGeminiClient,
getRetryFetchErrors: vi.fn().mockReturnValue(false),
getMaxAttempts: vi.fn().mockReturnValue(3),
getDirectWebFetch: vi.fn().mockReturnValue(false),
modelConfigService: {
getResolvedConfig: vi.fn().mockImplementation(({ model }) => ({