test: update heartbeat and agent list thresholds
This commit is contained in:
1 parent
fd1e959c2d
commit
f1dd59bf82
4 files changed
+4
-2
No files matched your search
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user