mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-08 06:54:24 +00:00
test(cron): avoid delivery.mode type widening in isolated announce test
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user