Download packages/test-utils/src/mock-utils.ts from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/test-utils/src/mock-utils.ts
- Command line
-
hf download hf://SaylorTwift/gemini-cli/packages/test-utils/src/mock-utils.ts
-
curl -L -o mock-utils.ts https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/test-utils/src/mock-utils.ts
353 Bytes
| /** | |
| * @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, | |
| }; | |
| } | |