diff options
| author | Tommaso Sciortino <[email protected]> | 2025-07-18 17:28:40 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-19 00:28:40 +0000 |
| commit | 4dbd9f30b6df879661e968e493f817667954bfce (patch) | |
| tree | 3dcdfb8b550baf559ea86f27d898d33988cdaf31 /packages/cli/src/ui/App.test.tsx | |
| parent | 5b7b6fe608257381f522df5432d76e9fdf2bc144 (diff) | |
Revert background agent commits (#4479)
Diffstat (limited to 'packages/cli/src/ui/App.test.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.test.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/cli/src/ui/App.test.tsx b/packages/cli/src/ui/App.test.tsx index 24d30f74..e03c80ae 100644 --- a/packages/cli/src/ui/App.test.tsx +++ b/packages/cli/src/ui/App.test.tsx @@ -9,7 +9,6 @@ import { render } from 'ink-testing-library'; import { AppWrapper as App } from './App.js'; import { Config as ServerConfig, - BackgroundAgentManager, MCPServerConfig, ApprovalMode, ToolRegistry, @@ -52,7 +51,6 @@ interface MockServerConfig { getSandbox: Mock<() => SandboxConfig | undefined>; getTargetDir: Mock<() => string>; getToolRegistry: Mock<() => ToolRegistry>; // Use imported ToolRegistry type - getBackgroundAgentManager: Mock<() => BackgroundAgentManager>; getDebugMode: Mock<() => boolean>; getQuestion: Mock<() => string | undefined>; getFullContext: Mock<() => boolean>; @@ -119,7 +117,6 @@ vi.mock('@google/gemini-cli-core', async (importOriginal) => { getSandbox: vi.fn(() => opts.sandbox), getTargetDir: vi.fn(() => opts.targetDir || '/test/dir'), getToolRegistry: vi.fn(() => ({}) as ToolRegistry), // Simple mock - getBackgroundAgentManager: vi.fn(() => new BackgroundAgentManager([])), getDebugMode: vi.fn(() => opts.debugMode || false), getQuestion: vi.fn(() => opts.question), getFullContext: vi.fn(() => opts.fullContext ?? false), |
