Skip to content

Commit ed311c9

Browse files
committed
test(cron): cover model+fallbacks null clear in patch schema test
1 parent c2d0962 commit ed311c9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/agents/tools/cron-tool.schema.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,14 @@ describe("createCronToolSchema", () => {
231231
).toBe(true);
232232
});
233233

234-
it("accepts payload.fallbacks null in patch (clear-to-inherit)", () => {
234+
it("accepts payload.model and payload.fallbacks null in patch (clear-to-inherit)", () => {
235235
expect(
236236
Value.Check(createCronToolSchema(), {
237237
action: "update",
238238
jobId: "job-1",
239239
patch: {
240240
payload: {
241+
model: null,
241242
fallbacks: null,
242243
},
243244
},

0 commit comments

Comments
 (0)