mirror of https://github.com/openclaw/openclaw.git
test(cron): avoid delivery.mode type widening in isolated announce test
This commit is contained in:
parent
118611465c
commit
bf732b88e7
|
|
@ -206,10 +206,8 @@ describe("runCronIsolatedAgentTurn", () => {
|
|||
});
|
||||
|
||||
const cfg = makeCfg(home, storePath);
|
||||
const job = {
|
||||
...makeJob({ kind: "agentTurn", message: "do it" }),
|
||||
delivery: { mode: "announce", channel: "last" as const },
|
||||
};
|
||||
const job = makeJob({ kind: "agentTurn", message: "do it" });
|
||||
job.delivery = { mode: "announce", channel: "last" };
|
||||
|
||||
await runCronIsolatedAgentTurn({
|
||||
cfg,
|
||||
|
|
|
|||
Loading…
Reference in New Issue