mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-27 14:30:44 -07:00
19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
|
|
/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2025 Google LLC
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
import type { SandboxConfig } from '@google/gemini-cli-core';
|
||
|
|
|
||
|
|
export function createMockSandboxConfig(
|
||
|
|
overrides?: Partial<SandboxConfig>,
|
||
|
|
): SandboxConfig {
|
||
|
|
return {
|
||
|
|
enabled: true,
|
||
|
|
allowedPaths: [],
|
||
|
|
networkAccess: false,
|
||
|
|
...overrides,
|
||
|
|
};
|
||
|
|
}
|