mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: dedupe heartbeat stability mock read
This commit is contained in:
@@ -29,7 +29,7 @@ type HeartbeatReplyContext = {
|
||||
};
|
||||
|
||||
function replyCall(replySpy: { mock: { calls: unknown[][] } }, index = 0): HeartbeatReplyContext {
|
||||
return (replySpy.mock.calls.at(index)?.at(0) ?? {}) as HeartbeatReplyContext;
|
||||
return (replySpy.mock.calls[index]?.at(0) ?? {}) as HeartbeatReplyContext;
|
||||
}
|
||||
|
||||
describe("runHeartbeatOnce – isolated session key stability (#59493)", () => {
|
||||
|
||||
Reference in New Issue
Block a user