test: align cron heartbeat override expectation

This commit is contained in:
Peter Steinberger
2026-05-11 15:54:58 +01:00
parent 402fa0e935
commit 2d2f4bb2bd

View File

@@ -849,7 +849,12 @@ describe("buildGatewayCronService", () => {
expect(agentHeartbeat.target).toBe("last");
expect(agentHeartbeat.deliveryFormat).toBe("markdown");
const heartbeat = requireRecord(options.heartbeat, "heartbeat override");
expect(heartbeat).toEqual({});
expect(heartbeat).toEqual({
target: "last",
deliveryFormat: "markdown",
to: undefined,
accountId: undefined,
});
} finally {
state.cron.stop();
}