Delete shell-service.test.ts and change other tests to cover the same features (#9772)

This commit is contained in:
Tommaso Sciortino
2025-09-25 17:32:40 -07:00
committed by GitHub
parent 7e2ffd7a80
commit 2e4e53c3ee
5 changed files with 141 additions and 158 deletions

View File

@@ -584,6 +584,14 @@ export async function start_sandbox(
}
args.push('--name', containerName, '--hostname', containerName);
// copy GEMINI_CLI_TEST_VAR for integration tests
if (process.env['GEMINI_CLI_TEST_VAR']) {
args.push(
'--env',
`GEMINI_CLI_TEST_VAR=${process.env['GEMINI_CLI_TEST_VAR']}`,
);
}
// copy GEMINI_API_KEY(s)
if (process.env['GEMINI_API_KEY']) {
args.push('--env', `GEMINI_API_KEY=${process.env['GEMINI_API_KEY']}`);