diff --git a/test/components/views/rooms/wysiwyg_composer/message-test.ts b/test/components/views/rooms/wysiwyg_composer/message-test.ts index 2f7532fb8f..a762c7696e 100644 --- a/test/components/views/rooms/wysiwyg_composer/message-test.ts +++ b/test/components/views/rooms/wysiwyg_composer/message-test.ts @@ -65,7 +65,9 @@ describe('message', () => { expect(content).toEqual({ "body": "> Replying to this\n\nhello world", "format": "org.matrix.custom.html", - "formatted_body": "
In reply to myfakeuser
Replying to this
hello world", + "formatted_body": "
In reply to" + + " myfakeuser"+ + "
Replying to this
hello world", "msgtype": "m.text", "m.relates_to": { "m.in_reply_to": { @@ -175,7 +177,9 @@ describe('message', () => { const expectedContent = { "body": "> My reply\n\nhello world", "format": "org.matrix.custom.html", - "formatted_body": "
In reply to myfakeuser2
My reply
hello world", + "formatted_body": "
In reply to" + + " myfakeuser2" + + "
My reply
hello world", "msgtype": "m.text", "m.relates_to": { "m.in_reply_to": {