From f40583500ecaa482e701dc28152225fe8f20c078 Mon Sep 17 00:00:00 2001 From: OpenClaw Contributor Date: Mon, 16 Mar 2026 23:50:49 +0000 Subject: [PATCH] fix: bundle-mcp test TS error + Windows CI timeouts - bundle-mcp.test.ts: cast args to string[] to fix TS7053, use fs.realpath for Windows 8.3 short-name path resolution - vitest.config.ts: raise testTimeout to 240s on Windows (hookTimeout was already raised; several provider-usage and auth-choice tests exceed 120s on the single-worker Windows runner) Made-with: Cursor --- vitest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index 2ed4ed07f7c..0b953028388 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -24,7 +24,7 @@ export default defineConfig({ ], }, test: { - testTimeout: 120_000, + testTimeout: isWindows ? 240_000 : 120_000, hookTimeout: isWindows ? 180_000 : 120_000, // Many suites rely on `vi.stubEnv(...)` and expect it to be scoped to the test. // This is especially important under `pool=vmForks` where env leaks cross-file.