test: update heartbeat and agent list thresholds

This commit is contained in:
Peter Steinberger
2026-01-12 17:13:49 +00:00
parent fd1e959c2d
commit f1dd59bf82
4 changed files with 4 additions and 2 deletions

View File

@@ -803,7 +803,7 @@ describe("runCronIsolatedAgentTurn", () => {
sendMessageIMessage: vi.fn(),
};
// Long content after HEARTBEAT_OK should still be delivered.
const longContent = `Important alert: ${"a".repeat(50)}`;
const longContent = `Important alert: ${"a".repeat(350)}`;
vi.mocked(runEmbeddedPiAgent).mockResolvedValue({
payloads: [{ text: `HEARTBEAT_OK ${longContent}` }],
meta: {