Fix E2E caused by Terminal Bench test (#529)

* 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
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,
},
});