Skip to content

Commit abbde4d

Browse files
test(server): keep the notification outcome, not the copy, in the checks-finished test
AI-assisted; verified with the tests and tools listed above.
1 parent f3436f2 commit abbde4d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎apps/server/src/orchestration-v2/pullRequestWatch.test.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -446,11 +446,7 @@ describe("evaluatePullRequestWatch", () => {
446446
headSha: "aaaaaaaaaa",
447447
report: final,
448448
});
449-
assert.deepEqual(message.notification.outcome, "failed");
450-
assert.include(
451-
message.text,
452-
"- The required checks still running when one failed have finished on aaaaaaa. Still failing:\n - lint https://ci.example/lint",
453-
);
449+
assert.equal(message.notification.outcome, "failed");
454450

455451
// A new advisory failure keeps what was owed rather than owing a required check started since.
456452
const advisory = detail({

0 commit comments

Comments
 (0)