test: avoid slow followup fallback fixture · openclaw/openclaw@0be2b85
steipete
·
2026-04-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1268,12 +1268,17 @@ describe("createFollowupRunner messaging tool dedupe", () => {
|
1268 | 1268 | ok: false, |
1269 | 1269 | error: "outbound adapter unavailable", |
1270 | 1270 | }); |
| 1271 | +const queued = baseQueuedRun(" Feishu "); |
1271 | 1272 | const { onBlockReply } = await runMessagingCase({ |
1272 | 1273 | agentResult: { payloads: [{ text: "hello world!" }] }, |
1273 | 1274 | queued: { |
1274 | | - ...baseQueuedRun(" Feishu "), |
| 1275 | + ...queued, |
1275 | 1276 | originatingChannel: "FEISHU", |
1276 | 1277 | originatingTo: "ou_abc123", |
| 1278 | +run: { |
| 1279 | + ...queued.run, |
| 1280 | +agentAccountId: undefined, |
| 1281 | +}, |
1277 | 1282 | } as FollowupRun, |
1278 | 1283 | }); |
1279 | 1284 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。