mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 06:04:11 +01:00
Cover supported GFM strikethrough reply content
Add the optional positive formatting case requested by review without changing observer behavior. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
980fad261c
commit
b9a2571b35
1 file changed
+1
@@ -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." },
|
||||
|
||||
Reference in new issue
Block a user