fix(test): include cron delivery thread id in schema keys

This commit is contained in:
Peter Steinberger
2026-04-27 21:43:12 +01:00
parent db622c67d1
commit 28d9fc5f20

View File

@@ -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(),
);
});