From b9a2571b356ad0e1311e6892bcf82610549e22b6 Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 30 Oct 2026 00:02:36 -0500 Subject: [PATCH] Cover supported GFM strikethrough reply content Add the optional positive formatting case requested by review without changing observer behavior. Co-Authored-By: Paperclip --- tests/runner-e2e/task-reply-content.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/runner-e2e/task-reply-content.test.ts b/tests/runner-e2e/task-reply-content.test.ts index f802c1255f3..dfcaea918ab 100644 --- a/tests/runner-e2e/task-reply-content.test.ts +++ b/tests/runner-e2e/task-reply-content.test.ts @@ -2,6 +2,7 @@ import { expect, it } from "vitest"; import { taskReplyContentMatches } from "./task-reply-content.js"; it("parses CommonMark escapes, entities, inline formatting and paragraph boundaries", () => { + expect(taskReplyContentMatches({ body: "Visible" }, "~~Visible~~")).toBe(true); expect(taskReplyContentMatches({ body: "Couldn't retrieve a_b & c. No retry." }, "**Couldn't retrieve** `a_b` & c.\n\nNo _retry_.")).toBe(true); expect(taskReplyContentMatches({ body: "Couldn't retrieve a_b & c. No retry. Extra." },