This commit is contained in:
mkorwel
2025-10-22 01:26:54 -07:00
parent 8c9494eb70
commit f09e38ee0e
2 changed files with 8 additions and 6 deletions
+5 -6
View File
@@ -329,12 +329,11 @@ export class TestRig {
command: string;
initialArgs: string[];
} {
const isNpmReleaseTest =
env['INTEGRATION_TEST_USE_INSTALLED_GEMINI'] === 'true';
const command = isNpmReleaseTest ? 'gemini' : 'node';
const initialArgs = isNpmReleaseTest
? extraInitialArgs
: [this.bundlePath, ...extraInitialArgs];
const command = 'node';
const initialArgs = [
join(__dirname, '..', 'node_modules', '.bin', 'gemini'),
...extraInitialArgs,
];
return { command, initialArgs };
}