mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 13:41:30 +00:00
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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user