|
1091 | 1091 | "runtime-sidecars:gen": "node --import tsx scripts/generate-runtime-sidecar-paths-baseline.ts --write", |
1092 | 1092 | "stage:bundled-plugin-runtime-deps": "node scripts/stage-bundled-plugin-runtime-deps.mjs", |
1093 | 1093 | "start": "node scripts/run-node.mjs", |
1094 | | - "test": "node scripts/test-projects.mjs", |
| 1094 | + "test": "vitest run --config vitest.config.ts", |
1095 | 1095 | "test:all": "pnpm lint && pnpm build && pnpm test && pnpm test:e2e && pnpm test:live && pnpm test:docker:all", |
1096 | 1096 | "test:auth:compat": "node scripts/run-vitest.mjs run --config vitest.gateway.config.ts src/gateway/server.auth.compat-baseline.test.ts src/gateway/client.test.ts src/gateway/reconnect-gating.test.ts src/gateway/protocol/connect-error-details.test.ts", |
1097 | 1097 | "test:build:singleton": "node scripts/test-built-plugin-singleton.mjs", |
1098 | 1098 | "test:bundled": "node scripts/run-vitest.mjs run --config vitest.bundled.config.ts", |
1099 | | - "test:changed": "node scripts/run-vitest.mjs run --config vitest.config.ts --changed origin/main", |
1100 | | - "test:changed:max": "OPENCLAW_VITEST_MAX_WORKERS=8 node scripts/run-vitest.mjs run --config vitest.config.ts --changed origin/main", |
| 1099 | + "test:changed": "vitest run --config vitest.config.ts --changed origin/main", |
| 1100 | + "test:changed:max": "OPENCLAW_VITEST_MAX_WORKERS=8 vitest run --config vitest.config.ts --changed origin/main", |
1101 | 1101 | "test:channels": "node scripts/run-vitest.mjs run --config vitest.channels.config.ts", |
1102 | 1102 | "test:contracts": "pnpm test:contracts:channels && pnpm test:contracts:plugins", |
1103 | 1103 | "test:contracts:channels": "node scripts/run-vitest.mjs run --config vitest.contracts.config.ts --maxWorkers=1 src/channels/plugins/contracts", |
|
1126 | 1126 | "test:extensions:memory": "node scripts/profile-extension-memory.mjs", |
1127 | 1127 | "test:fast": "node scripts/run-vitest.mjs run --config vitest.unit.config.ts", |
1128 | 1128 | "test:force": "node --import tsx scripts/test-force.ts", |
1129 | | - "test:gateway": "node scripts/run-vitest.mjs run --config vitest.gateway.config.ts --pool=forks", |
| 1129 | + "test:gateway": "vitest run --config vitest.gateway.config.ts", |
1130 | 1130 | "test:gateway:watch-regression": "node scripts/check-gateway-watch-regression.mjs", |
1131 | 1131 | "test:install:e2e": "bash scripts/test-install-sh-e2e-docker.sh", |
1132 | 1132 | "test:install:e2e:anthropic": "OPENCLAW_E2E_MODELS=anthropic bash scripts/test-install-sh-e2e-docker.sh", |
|
1135 | 1135 | "test:live": "node scripts/test-live.mjs", |
1136 | 1136 | "test:live:gateway-profiles": "node scripts/test-live.mjs -- src/gateway/gateway-models.profiles.live.test.ts", |
1137 | 1137 | "test:live:models-profiles": "node scripts/test-live.mjs -- src/agents/models.profiles.live.test.ts", |
1138 | | - "test:max": "OPENCLAW_VITEST_MAX_WORKERS=8 node scripts/test-projects.mjs", |
| 1138 | + "test:max": "OPENCLAW_VITEST_MAX_WORKERS=8 vitest run --config vitest.config.ts", |
1139 | 1139 | "test:parallels:linux": "bash scripts/e2e/parallels-linux-smoke.sh", |
1140 | 1140 | "test:parallels:macos": "bash scripts/e2e/parallels-macos-smoke.sh", |
1141 | 1141 | "test:parallels:npm-update": "bash scripts/e2e/parallels-npm-update-smoke.sh", |
|
1147 | 1147 | "test:perf:profile:main": "node scripts/run-vitest-profile.mjs main", |
1148 | 1148 | "test:perf:profile:runner": "node scripts/run-vitest-profile.mjs runner", |
1149 | 1149 | "test:sectriage": "node scripts/run-vitest.mjs run --config vitest.gateway.config.ts && node scripts/run-vitest.mjs run --config vitest.unit.config.ts --exclude src/daemon/launchd.integration.test.ts --exclude src/process/exec.test.ts", |
1150 | | - "test:serial": "OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/test-projects.mjs", |
| 1150 | + "test:serial": "OPENCLAW_VITEST_MAX_WORKERS=1 vitest run --config vitest.config.ts", |
1151 | 1151 | "test:startup:bench": "node --import tsx scripts/bench-cli-startup.ts", |
1152 | 1152 | "test:startup:bench:check": "node scripts/test-cli-startup-bench-budget.mjs", |
1153 | 1153 | "test:startup:bench:save": "node --import tsx scripts/bench-cli-startup.ts --preset all --runs 5 --warmup 1 --output .artifacts/cli-startup-bench-all.json", |
|
1156 | 1156 | "test:startup:memory": "node scripts/check-cli-startup-memory.mjs", |
1157 | 1157 | "test:ui": "pnpm lint:ui:no-raw-window-open && pnpm --dir ui test", |
1158 | 1158 | "test:voicecall:closedloop": "node scripts/test-voicecall-closedloop.mjs", |
1159 | | - "test:watch": "node scripts/test-projects.mjs --watch", |
| 1159 | + "test:watch": "vitest --config vitest.config.ts", |
1160 | 1160 | "ts-topology": "node --import tsx scripts/ts-topology.ts", |
1161 | 1161 | "tsgo": "node scripts/run-tsgo.mjs", |
1162 | 1162 | "tui": "node scripts/run-node.mjs tui", |
|
0 commit comments