summaryrefslogtreecommitdiff
path: root/packages/core/src/config/config.test.ts
diff options
context:
space:
mode:
authorBrandon Keiji <[email protected]>2025-06-18 10:01:00 -0700
committerGitHub <[email protected]>2025-06-18 17:01:00 +0000
commit332512853e40e6c9b826b60057a389e9d34453fd (patch)
tree7ee45ec5d7f27cb5664c353379580133b223da77 /packages/core/src/config/config.test.ts
parent30d1662128e688bf94653a0144ef96c311fae40b (diff)
feat: consolidate sandbox configurations into a single object (#1154)
Diffstat (limited to 'packages/core/src/config/config.test.ts')
-rw-r--r--packages/core/src/config/config.test.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/core/src/config/config.test.ts b/packages/core/src/config/config.test.ts
index e8f56f75..10fd814f 100644
--- a/packages/core/src/config/config.test.ts
+++ b/packages/core/src/config/config.test.ts
@@ -5,7 +5,7 @@
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
-import { Config, ConfigParameters } from './config.js';
+import { Config, ConfigParameters, SandboxConfig } from './config.js';
import * as path from 'path';
import { setGeminiMdFilename as mockSetGeminiMdFilename } from '../tools/memoryTool.js';
import {
@@ -53,7 +53,10 @@ vi.mock('../telemetry/index.js', async (importOriginal) => {
describe('Server Config (config.ts)', () => {
const API_KEY = 'server-api-key';
const MODEL = 'gemini-pro';
- const SANDBOX = false;
+ const SANDBOX: SandboxConfig = {
+ command: 'docker',
+ image: 'gemini-cli-sandbox',
+ };
const TARGET_DIR = '/path/to/target';
const DEBUG_MODE = false;
const QUESTION = 'test question';