From 236d43bb5a6c9eb5fb9f32ca6a9e8dba0a41e48e Mon Sep 17 00:00:00 2001 From: Lourenco Castro Date: Fri, 11 Sep 2026 14:24:17 +0200 Subject: [PATCH] style(test): align retry assertions Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../heartbeat-comment-wake-batching.test.ts | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/server/src/__tests__/heartbeat-comment-wake-batching.test.ts b/server/src/__tests__/heartbeat-comment-wake-batching.test.ts index 0a06dd7883..81b8baf459 100644 --- a/server/src/__tests__/heartbeat-comment-wake-batching.test.ts +++ b/server/src/__tests__/heartbeat-comment-wake-batching.test.ts @@ -3425,19 +3425,19 @@ describeEmbeddedPostgres("heartbeat comment wake batching", () => { ), ); expect(missingCommentRetries).toHaveLength(1); - expect(missingCommentRetries[0]?.payload).toMatchObject({ - retryReason: "missing_issue_comment", - }); - for (const key of [ - "modelProfile", - "paperclipModelProfile", - "recoveryIntent", - "allowDeliverableWork", - "allowDocumentUpdates", - "resumeRequiresNormalModel", - ]) { - expect(missingCommentRetries[0]?.payload).not.toHaveProperty(key); - } + expect(missingCommentRetries[0]?.payload).toMatchObject({ + retryReason: "missing_issue_comment", + }); + for (const key of [ + "modelProfile", + "paperclipModelProfile", + "recoveryIntent", + "allowDeliverableWork", + "allowDocumentUpdates", + "resumeRequiresNormalModel", + ]) { + expect(missingCommentRetries[0]?.payload).not.toHaveProperty(key); + } } finally { gateway.releaseFirstWait(); await gateway.close();