fix(test): include cron delivery thread id in schema keys · openclaw/openclaw@28d9fc5
steipete
·
2026-04-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -82,9 +82,17 @@ describe("CronToolSchema", () => {
|
82 | 82 | expect(patchStagger?.description).toBe("Random jitter in ms (kind=cron)"); |
83 | 83 | }); |
84 | 84 | |
85 | | -it("job.delivery exposes mode, channel, to, bestEffort, accountId, failureDestination", () => { |
| 85 | +it("job.delivery exposes mode, channel, to, threadId, bestEffort, accountId, failureDestination", () => { |
86 | 86 | expect(keysAt(schemaRecord, "job.delivery")).toEqual( |
87 | | -["accountId", "bestEffort", "channel", "failureDestination", "mode", "to"].toSorted(), |
| 87 | +[ |
| 88 | +"accountId", |
| 89 | +"bestEffort", |
| 90 | +"channel", |
| 91 | +"failureDestination", |
| 92 | +"mode", |
| 93 | +"threadId", |
| 94 | +"to", |
| 95 | +].toSorted(), |
88 | 96 | ); |
89 | 97 | }); |
90 | 98 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。