mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:20:43 +00:00
test: keep cron executor delivery default typed
This commit is contained in:
@@ -120,6 +120,8 @@ describe("runCronIsolatedAgentTurn message tool policy", () => {
|
||||
function createMessageToolExecutor(
|
||||
overrides: Partial<Parameters<typeof createCronPromptExecutor>[0]>,
|
||||
) {
|
||||
const resolvedDelivery = overrides.resolvedDelivery ?? {};
|
||||
|
||||
return createCronPromptExecutor({
|
||||
cfg: {},
|
||||
cfgWithAgentDefaults: {},
|
||||
@@ -145,6 +147,7 @@ describe("runCronIsolatedAgentTurn message tool policy", () => {
|
||||
cronSession: makeCronSession() as MutableCronSession,
|
||||
abortReason: () => "aborted",
|
||||
...overrides,
|
||||
resolvedDelivery,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user