+
+ it('Should convert markdown in comment to html', async function () {
+ this.timeout(10000)
+
+ const { uuid } = await servers[0].videos.upload({ attributes: { name: 'super video' } })
+
+ const { id: threadId } = await servers[0].comments.createThread({ videoId: uuid, text: '@user_1 hello 1' })
+
+ await servers[0].comments.addReply({ videoId: uuid, toCommentId: threadId, text: '@user_1 ' + commentText })
+
+ await waitJobs(servers)
+
+ const latestEmail = emails[emails.length - 1]
+ expect(latestEmail['html']).to.contain(expectedHtml)
+ })