From 228d8e8e47e913fc6487a917d43a59070aefa0ab Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 31 Jan 2022 10:07:38 +0100 Subject: Convert markdown to html/plain text for feeds --- server/tests/feeds/feeds.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests') diff --git a/server/tests/feeds/feeds.ts b/server/tests/feeds/feeds.ts index 24a518342..74cbaeb6d 100644 --- a/server/tests/feeds/feeds.ts +++ b/server/tests/feeds/feeds.ts @@ -274,8 +274,8 @@ describe('Test syndication feeds', () => { const jsonObj = JSON.parse(json) expect(jsonObj.items.length).to.be.equal(2) - expect(jsonObj.items[0].html_content).to.equal('super comment 2') - expect(jsonObj.items[1].html_content).to.equal('super comment 1') + expect(jsonObj.items[0].html_content).to.contain('

super comment 2

') + expect(jsonObj.items[1].html_content).to.contain('

super comment 1

') } }) -- cgit v1.2.3