deps: update fast-xml-parser and markdown-it (#52541)

* style: format test files

* deps: bump fast-xml-parser override
This commit is contained in:
Vincent Koc
2026-03-22 17:55:47 -07:00
committed by GitHub
parent 45ede8729e
commit a61e5d17f0
10 changed files with 27 additions and 30 deletions

View File

@@ -27,9 +27,9 @@ describe("nextcloud talk format helpers", () => {
});
it("strips markdown formatting and truncates on word boundaries", () => {
expect(
stripNextcloudTalkFormatting("**bold** [link](https://example.com) `code`"),
).toBe("bold link");
expect(stripNextcloudTalkFormatting("**bold** [link](https://example.com) `code`")).toBe(
"bold link",
);
expect(truncateNextcloudTalkText("alpha beta gamma delta", 14)).toBe("alpha beta...");
expect(truncateNextcloudTalkText("short", 14)).toBe("short");
});

View File

@@ -85,9 +85,7 @@ describe("nextcloud talk room info", () => {
expect(kind).toBeUndefined();
expect(readFileSync).toHaveBeenCalledWith("/tmp/nextcloud-secret", "utf-8");
expect(log).toHaveBeenCalledWith(
"nextcloud-talk: room lookup failed (403) token=room-group",
);
expect(log).toHaveBeenCalledWith("nextcloud-talk: room lookup failed (403) token=room-group");
expect(release).toHaveBeenCalledTimes(1);
});