test: align heartbeat session seed

This commit is contained in:
Peter Steinberger
2026-05-17 00:18:01 +01:00
parent 7e11d013b3
commit 3913cc40bc

View File

@@ -225,9 +225,9 @@ describe("heartbeat runner skips when target session lane is busy", () => {
});
it("returns requests-in-flight when the target session has an active reply run", async () => {
await withTempHeartbeatSandbox(async ({ storePath, replySpy }) => {
await withTempHeartbeatSandbox(async ({ agentId, replySpy }) => {
const cfg = createHeartbeatTelegramConfig();
const sessionKey = await seedHeartbeatTelegramSession(storePath, cfg);
const sessionKey = await seedHeartbeatTelegramSession(agentId, cfg);
const isReplyRunActive = vi.fn((key: string) => key === sessionKey);
const result = await runHeartbeatOnce({