Skip to content

Commit d5be0aa

Browse files
committed
test(cron): fix createCronServiceState args in catchup test
1 parent f58f119 commit d5be0aa

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/cron/service.restart-catchup.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -748,13 +748,13 @@ describe("CronService restart catch-up", () => {
748748
]);
749749

750750
const state = createCronServiceState({
751+
cronEnabled: true,
751752
storePath: store.storePath,
752-
deps: {
753-
log: noopLogger,
754-
nowMs: () => startNow,
755-
enqueueSystemEvent,
756-
requestHeartbeat,
757-
},
753+
log: noopLogger,
754+
nowMs: () => startNow,
755+
enqueueSystemEvent,
756+
requestHeartbeat,
757+
runIsolatedAgentJob: vi.fn(async () => ({ status: "ok" as const })),
758758
});
759759

760760
try {

0 commit comments

Comments
 (0)