Fix exp id logging (#13430)

This commit is contained in:
owenofbrien
2025-11-21 14:44:50 -06:00
committed by GitHub
parent 0713c86dec
commit 64eb14ab11
11 changed files with 92 additions and 45 deletions

View File

@@ -53,6 +53,7 @@ const renderComponent = (
getUseSmartEdit: vi.fn(() => false),
getProxy: vi.fn(() => undefined),
isInteractive: vi.fn(() => false),
getExperiments: () => {},
// --- Spread test-specific overrides ---
...contextValue,

View File

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

View File

@@ -80,6 +80,7 @@ const mockConfig = {
getMessageBus: () => null,
getPolicyEngine: () => null,
isInteractive: () => false,
getExperiments: () => {},
} as unknown as Config;
const mockTool = new MockTool({