Log config.useSmartEdit to Clearcut (#7617)

This commit is contained in:
owenofbrien
2025-09-03 04:58:47 -05:00
committed by GitHub
parent 5c2bb990d8
commit 044c3a0e14
8 changed files with 46 additions and 0 deletions

View File

@@ -207,6 +207,7 @@ describe('useGeminiStream', () => {
getContentGeneratorConfig: vi
.fn()
.mockReturnValue(contentGeneratorConfig),
getUseSmartEdit: () => false,
} as unknown as Config;
mockOnDebugMessage = vi.fn();
mockHandleSlashCommand = vi.fn().mockResolvedValue(false);

View File

@@ -59,6 +59,7 @@ const mockConfig = {
model: 'test-model',
authType: 'oauth-personal',
}),
getUseSmartEdit: () => false,
getGeminiClient: () => null, // No client needed for these tests
} as unknown as Config;