test(qa): avoid spread in slack smoke lint

This commit is contained in:
Vincent Koc
2026-05-03 19:59:36 -07:00
parent 8846fe0998
commit eb3922f1a5

View File

@@ -102,7 +102,7 @@ describe("mantis Slack desktop smoke runtime", () => {
expect(remoteScript).toContain("OPENCLAW_MANTIS_SLACK_BROWSER_PROFILE_DIR");
const rsyncArgs = commands
.filter((entry) => entry.command === "rsync")
.flatMap((entry) => [...entry.args]);
.flatMap((entry) => entry.args);
expect(rsyncArgs).not.toContain("--delete");
expect(rsyncArgs).toEqual(
expect.arrayContaining([