fix(test): make max Vitest scripts Windows-safe · openclaw/openclaw@b681d5d
vincentkoc
·
2026-05-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1613,7 +1613,7 @@
|
1613 | 1613 | "test:build:status-message-runtime": "node scripts/test-built-status-message-runtime.mjs", |
1614 | 1614 | "test:bundled": "node scripts/run-vitest.mjs run --config test/vitest/vitest.bundled.config.ts", |
1615 | 1615 | "test:changed": "node scripts/test-projects.mjs --changed origin/main", |
1616 | | -"test:changed:max": "OPENCLAW_VITEST_MAX_WORKERS=8 node scripts/test-projects.mjs --changed origin/main", |
| 1616 | +"test:changed:max": "node scripts/test-projects-max.mjs --changed origin/main", |
1617 | 1617 | "test:channels": "node scripts/run-vitest.mjs run --config test/vitest/vitest.channels.config.ts", |
1618 | 1618 | "test:contracts": "pnpm test:contracts:channels && pnpm test:contracts:plugins", |
1619 | 1619 | "test:contracts:channels": "node scripts/test-projects.mjs --maxWorkers=1 test/vitest/vitest.contracts-channel-surface.config.ts test/vitest/vitest.contracts-channel-config.config.ts test/vitest/vitest.contracts-channel-registry.config.ts test/vitest/vitest.contracts-channel-session.config.ts", |
|
1729 | 1729 | "test:live:media:video": "node --import tsx scripts/test-live-media.ts video", |
1730 | 1730 | "test:live:models-profiles": "node scripts/test-live.mjs -- src/agents/models.profiles.live.test.ts", |
1731 | 1731 | "test:macos:ci": "node scripts/test-projects.mjs src/daemon/launchd.test.ts src/daemon/runtime-paths.test.ts src/daemon/runtime-binary.test.ts src/infra/brew.test.ts src/infra/stable-node-path.test.ts test/scripts/vitest-process-group.test.ts", |
1732 | | -"test:max": "OPENCLAW_VITEST_MAX_WORKERS=8 node scripts/test-projects.mjs", |
| 1732 | +"test:max": "node scripts/test-projects-max.mjs", |
1733 | 1733 | "test:parallels:linux": "bash scripts/e2e/parallels-linux-smoke.sh", |
1734 | 1734 | "test:parallels:macos": "bash scripts/e2e/parallels-macos-smoke.sh", |
1735 | 1735 | "test:parallels:npm-update": "bash scripts/e2e/parallels-npm-update-smoke.sh", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。