From c7d0cd290643de65bac7b6adb1548d75a0360e42 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Wed, 15 May 2024 14:54:36 +0200 Subject: [PATCH] Update test snapshots --- .../views/elements/__snapshots__/AppTile-test.tsx.snap | 3 --- test/components/views/messages/TextualBody-test.tsx | 4 +--- .../messages/__snapshots__/TextualBody-test.tsx.snap | 8 ++------ .../__snapshots__/PeopleRoomSettingsTab-test.tsx.snap | 1 - .../__snapshots__/AddExistingToSpaceDialog-test.tsx.snap | 1 - 5 files changed, 3 insertions(+), 14 deletions(-) diff --git a/test/components/views/elements/__snapshots__/AppTile-test.tsx.snap b/test/components/views/elements/__snapshots__/AppTile-test.tsx.snap index 4b84fa46c63a..8f3625654727 100644 --- a/test/components/views/elements/__snapshots__/AppTile-test.tsx.snap +++ b/test/components/views/elements/__snapshots__/AppTile-test.tsx.snap @@ -116,7 +116,6 @@ exports[`AppTile for a pinned widget should render 1`] = ` ", () => { 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", () => { diff --git a/test/components/views/messages/__snapshots__/TextualBody-test.tsx.snap b/test/components/views/messages/__snapshots__/TextualBody-test.tsx.snap index aee9cc6d5909..96bb641f9bfd 100644 --- a/test/components/views/messages/__snapshots__/TextualBody-test.tsx.snap +++ b/test/components/views/messages/__snapshots__/TextualBody-test.tsx.snap @@ -65,7 +65,6 @@ exports[` renders formatted m.text correctly pills appear for an renders formatted m.text correctly pills appear for eve renders formatted m.text correctly pills appear for roo renders formatted m.text correctly pills get injected c renders formatted m.text correctly pills get injected c `; -exports[` renders plain-text m.text correctly should pillify a permalink to a message in the same room with the label »Message from Member« 1`] = `"Visit Message from Member"`; +exports[` renders plain-text m.text correctly should pillify a permalink to a message in the same room with the label »Message from Member« 1`] = `"Visit Message from Member"`; -exports[` renders plain-text m.text correctly should pillify a permalink to an event in another room with the label »Message in Room 2« 1`] = `"Visit Message in Room 2"`; +exports[` renders plain-text m.text correctly should pillify a permalink to an event in another room with the label »Message in Room 2« 1`] = `"Visit Message in Room 2"`; exports[` renders plain-text m.text correctly should pillify a permalink to an unknown message in the same room with the label »Message« 1`] = ` looks as expected 1`] = `