test(plugins): run kitchen sink rpc lane without tsx · openclaw/openclaw@01e7f64
vincentkoc
·
2026-05-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -43,7 +43,7 @@ echo "Running kitchen-sink RPC Docker E2E..."
|
43 | 43 | docker rm -f "$CONTAINER_NAME" >/dev/null 2>&1 || true |
44 | 44 | docker_e2e_harness_mount_args |
45 | 45 | docker run --name "$CONTAINER_NAME" "${DOCKER_E2E_HARNESS_ARGS[@]}" "${DOCKER_ENV_ARGS[@]}" -i "$IMAGE_NAME" \ |
46 | | - node --import tsx scripts/e2e/kitchen-sink-rpc-walk.mjs >"$RUN_LOG" 2>&1 & |
| 46 | + node scripts/e2e/kitchen-sink-rpc-walk.mjs >"$RUN_LOG" 2>&1 & |
47 | 47 | docker_pid="$!" |
48 | 48 | |
49 | 49 | while kill -0 "$docker_pid" 2>/dev/null; do |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -182,7 +182,8 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
|
182 | 182 | }); |
183 | 183 | expect(script).toContain("OPENCLAW_ENTRY=/app/openclaw.mjs"); |
184 | 184 | expect(script).toContain("docker stats --no-stream"); |
185 | | -expect(script).toContain("scripts/e2e/kitchen-sink-rpc-walk.mjs"); |
| 185 | +expect(script).toContain("node scripts/e2e/kitchen-sink-rpc-walk.mjs"); |
| 186 | +expect(script).not.toContain("--import tsx"); |
186 | 187 | expect(walkScript).toContain("commands.list"); |
187 | 188 | expect(walkScript).toContain("tools.invoke"); |
188 | 189 | expect(walkScript).toContain("tts.providers"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。