fix(qa): accept pnpm separator for lab up (#96246) · openclaw/openclaw@d42b864
vincentkoc
·
2026-06-24
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -34,6 +34,19 @@ describe("scripts/qa-lab-up", () => {
|
34 | 34 | ); |
35 | 35 | }); |
36 | 36 | |
| 37 | +it("accepts the pnpm run argument separator", async () => { |
| 38 | +const runQaDockerUpCommand = vi.fn(async () => {}); |
| 39 | +const loadRuntime = vi.fn(async () => ({ runQaDockerUpCommand })); |
| 40 | + |
| 41 | +await expect( |
| 42 | +qaLabUpTesting.runQaLabUp(["--", "--gateway-port", "4100"], { loadRuntime }), |
| 43 | +).resolves.toBe(0); |
| 44 | + |
| 45 | +expect(runQaDockerUpCommand).toHaveBeenCalledWith( |
| 46 | +expect.objectContaining({ gatewayPort: 4100 }), |
| 47 | +); |
| 48 | +}); |
| 49 | + |
37 | 50 | it("accepts the maximum TCP port before loading the Docker runtime", async () => { |
38 | 51 | const runQaDockerUpCommand = vi.fn(async () => {}); |
39 | 52 | const loadRuntime = vi.fn(async () => ({ runQaDockerUpCommand })); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。