From f09e38ee0e870bd75e6a53a9e28987f375772fdc Mon Sep 17 00:00:00 2001 From: mkorwel Date: Wed, 22 Oct 2025 01:26:54 -0700 Subject: [PATCH] linting --- .github/workflows/e2e.yml | 3 +++ integration-tests/test-helper.ts | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ae0334e486..bf7ca60d4e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -65,6 +65,7 @@ jobs: GEMINI_API_KEY: '${{ secrets.GEMINI_API_KEY }}' KEEP_OUTPUT: 'true' VERBOSE: 'true' + INTEGRATION_TEST_USE_INSTALLED_GEMINI: 'true' shell: 'bash' run: | if [[ "${{ matrix.sandbox }}" == "sandbox:docker" ]]; then @@ -120,6 +121,7 @@ jobs: KEEP_OUTPUT: 'true' SANDBOX: 'sandbox:none' VERBOSE: 'true' + INTEGRATION_TEST_USE_INSTALLED_GEMINI: 'true' run: 'npm run test:integration:sandbox:none' e2e_windows: @@ -190,6 +192,7 @@ jobs: NODE_OPTIONS: '--max-old-space-size=32768 --max-semi-space-size=256' UV_THREADPOOL_SIZE: '32' NODE_ENV: 'test' + INTEGRATION_TEST_USE_INSTALLED_GEMINI: 'true' shell: 'pwsh' run: 'npm run test:integration:sandbox:none' diff --git a/integration-tests/test-helper.ts b/integration-tests/test-helper.ts index fbc965c0ab..0c017a1002 100644 --- a/integration-tests/test-helper.ts +++ b/integration-tests/test-helper.ts @@ -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 }; }