Fix linting in test
parent
4e8b731d2c
commit
e8d0fb0ab0
|
@ -65,7 +65,9 @@ describe('message', () => {
|
||||||
expect(content).toEqual({
|
expect(content).toEqual({
|
||||||
"body": "> <myfakeuser> Replying to this\n\n<i><b>hello</b> world</i>",
|
"body": "> <myfakeuser> Replying to this\n\n<i><b>hello</b> world</i>",
|
||||||
"format": "org.matrix.custom.html",
|
"format": "org.matrix.custom.html",
|
||||||
"formatted_body": "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a> <a href=\"https://matrix.to/#/myfakeuser\">myfakeuser</a><br>Replying to this</blockquote></mx-reply><i><b>hello</b> world</i>",
|
"formatted_body": "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a>" +
|
||||||
|
" <a href=\"https://matrix.to/#/myfakeuser\">myfakeuser</a>"+
|
||||||
|
"<br>Replying to this</blockquote></mx-reply><i><b>hello</b> world</i>",
|
||||||
"msgtype": "m.text",
|
"msgtype": "m.text",
|
||||||
"m.relates_to": {
|
"m.relates_to": {
|
||||||
"m.in_reply_to": {
|
"m.in_reply_to": {
|
||||||
|
@ -175,7 +177,9 @@ describe('message', () => {
|
||||||
const expectedContent = {
|
const expectedContent = {
|
||||||
"body": "> <myfakeuser2> My reply\n\n<i><b>hello</b> world</i>",
|
"body": "> <myfakeuser2> My reply\n\n<i><b>hello</b> world</i>",
|
||||||
"format": "org.matrix.custom.html",
|
"format": "org.matrix.custom.html",
|
||||||
"formatted_body": "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a> <a href=\"https://matrix.to/#/myfakeuser2\">myfakeuser2</a><br>My reply</blockquote></mx-reply><i><b>hello</b> world</i>",
|
"formatted_body": "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a>" +
|
||||||
|
" <a href=\"https://matrix.to/#/myfakeuser2\">myfakeuser2</a>" +
|
||||||
|
"<br>My reply</blockquote></mx-reply><i><b>hello</b> world</i>",
|
||||||
"msgtype": "m.text",
|
"msgtype": "m.text",
|
||||||
"m.relates_to": {
|
"m.relates_to": {
|
||||||
"m.in_reply_to": {
|
"m.in_reply_to": {
|
||||||
|
|
Loading…
Reference in New Issue