mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
fix(test): include cron delivery thread id in schema keys
This commit is contained in:
@@ -82,9 +82,17 @@ describe("CronToolSchema", () => {
|
||||
expect(patchStagger?.description).toBe("Random jitter in ms (kind=cron)");
|
||||
});
|
||||
|
||||
it("job.delivery exposes mode, channel, to, bestEffort, accountId, failureDestination", () => {
|
||||
it("job.delivery exposes mode, channel, to, threadId, bestEffort, accountId, failureDestination", () => {
|
||||
expect(keysAt(schemaRecord, "job.delivery")).toEqual(
|
||||
["accountId", "bestEffort", "channel", "failureDestination", "mode", "to"].toSorted(),
|
||||
[
|
||||
"accountId",
|
||||
"bestEffort",
|
||||
"channel",
|
||||
"failureDestination",
|
||||
"mode",
|
||||
"threadId",
|
||||
"to",
|
||||
].toSorted(),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user