diff --git a/apps/web/test/unit-tests/HtmlUtils-test.tsx b/apps/web/test/unit-tests/HtmlUtils-test.tsx
index 183395b98b..2201e73ed8 100644
--- a/apps/web/test/unit-tests/HtmlUtils-test.tsx
+++ b/apps/web/test/unit-tests/HtmlUtils-test.tsx
@@ -100,7 +100,9 @@ describe("bodyToHtml", () => {
},
);
- expect(html).toMatchInlineSnapshot(`"foo http://link.example/test/path bar"`);
+ expect(html).toMatchInlineSnapshot(
+ `"foo http://link.example/test/path bar"`,
+ );
});
it("should hightlight parts of links in HTML message highlighting", () => {
diff --git a/apps/web/test/unit-tests/components/views/messages/TextualBody-test.tsx b/apps/web/test/unit-tests/components/views/messages/TextualBody-test.tsx
index ee59aff669..7f78a0daf3 100644
--- a/apps/web/test/unit-tests/components/views/messages/TextualBody-test.tsx
+++ b/apps/web/test/unit-tests/components/views/messages/TextualBody-test.tsx
@@ -187,28 +187,36 @@ describe("", () => {
const ev = mkRoomTextMessage("Chat with @user:example.com");
const { container } = getComponent({ mxEvent: ev });
const content = container.querySelector(".mx_EventTile_body");
- expect(content.innerHTML).toMatchInlineSnapshot(`"Chat with @user:example.com"`);
+ expect(content.innerHTML).toMatchInlineSnapshot(
+ `"Chat with @user:example.com"`,
+ );
});
it("should pillify an MXID permalink", () => {
const ev = mkRoomTextMessage("Chat with https://matrix.to/#/@user:example.com");
const { container } = getComponent({ mxEvent: ev });
const content = container.querySelector(".mx_EventTile_body");
- expect(content.innerHTML).toMatchInlineSnapshot(`"Chat with
Member"`);
+ expect(content.innerHTML).toMatchInlineSnapshot(
+ `"Chat with
Member"`,
+ );
});
it("should not pillify room aliases", () => {
const ev = mkRoomTextMessage("Visit #room:example.com");
const { container } = getComponent({ mxEvent: ev });
const content = container.querySelector(".mx_EventTile_body");
- expect(content.innerHTML).toMatchInlineSnapshot(`"Visit #room:example.com"`);
+ expect(content.innerHTML).toMatchInlineSnapshot(
+ `"Visit #room:example.com"`,
+ );
});
it("should pillify a room alias permalink", () => {
const ev = mkRoomTextMessage("Visit https://matrix.to/#/#room:example.com");
const { container } = getComponent({ mxEvent: ev });
const content = container.querySelector(".mx_EventTile_body");
- expect(content.innerHTML).toMatchInlineSnapshot(`"Visit #room:example.com"`);
+ expect(content.innerHTML).toMatchInlineSnapshot(
+ `"Visit #room:example.com"`,
+ );
});
it("should pillify a permalink to a message in the same room with the label »Message from Member«", () => {