mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 23:56:07 +00:00
test: align cron heartbeat override expectation
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user