test(qa): avoid spread in slack smoke lint · openclaw/openclaw@eb3922f
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
File tree
extensions/qa-lab/src/mantis
| Original file line number | Diff line number | Diff line change |
|---|
@@ -102,7 +102,7 @@ describe("mantis Slack desktop smoke runtime", () => {
|
102 | 102 | expect(remoteScript).toContain("OPENCLAW_MANTIS_SLACK_BROWSER_PROFILE_DIR"); |
103 | 103 | const rsyncArgs = commands |
104 | 104 | .filter((entry) => entry.command === "rsync") |
105 | | -.flatMap((entry) => [...entry.args]); |
| 105 | +.flatMap((entry) => entry.args); |
106 | 106 | expect(rsyncArgs).not.toContain("--delete"); |
107 | 107 | expect(rsyncArgs).toEqual( |
108 | 108 | expect.arrayContaining([ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。