Fix E2E caused by Terminal Bench test (#529)
Some checks are pending
Qwen Code CI / Lint (GitHub Actions) (push) Waiting to run
Qwen Code CI / Lint (Javascript) (push) Waiting to run
Qwen Code CI / Lint (Shell) (push) Waiting to run
Qwen Code CI / Lint (YAML) (push) Waiting to run
Qwen Code CI / Lint (push) Blocked by required conditions
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run

* fix e2e

* fix lint
This commit is contained in:
Yiheng Xu 2025-09-08 10:51:14 +08:00 committed by GitHub
parent 57c6b25e61
commit 17fd843af6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 26 additions and 3 deletions

View file

@ -0,0 +1,21 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { defineConfig } from 'vitest/config';
const timeoutMinutes = Number(process.env.TB_TIMEOUT_MINUTES || '30');
const testTimeoutMs = timeoutMinutes * 60 * 1000;
export default defineConfig({
test: {
testTimeout: testTimeoutMs,
globalSetup: './globalSetup.ts',
reporters: ['default'],
include: ['**/terminal-bench/*.test.ts'],
retry: 2,
fileParallelism: false,
},
});