test: clarify qa browser runtime env assertion · openclaw/openclaw@a1244d6
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
File tree
extensions/qa-lab/src/mantis
| Original file line number | Diff line number | Diff line change |
|---|
@@ -79,7 +79,7 @@ describe("mantis desktop browser smoke runtime", () => {
|
79 | 79 | ["rsync", "-az"], |
80 | 80 | ["/tmp/crabbox", "stop"], |
81 | 81 | ]); |
82 | | -expect(commands.every((entry) => entry.env === runtimeEnv)).toBe(true); |
| 82 | +expect(commands.map((entry) => entry.env)).toEqual(commands.map(() => runtimeEnv)); |
83 | 83 | const rsyncArgs = commands.find((entry) => entry.command === "rsync")?.args ?? []; |
84 | 84 | expect(rsyncArgs).not.toContain("--delete"); |
85 | 85 | expect(rsyncArgs).toEqual(expect.arrayContaining(["--exclude", "chrome-profile/**"])); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。