From 17f82c426a55fa4237e5762ad3f024fdc111e1d5 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 2 Sep 2021 11:44:13 +0100 Subject: [PATCH] Chore: Added server test --- packages/server/src/routes/index/shares.link.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/routes/index/shares.link.test.ts b/packages/server/src/routes/index/shares.link.test.ts index 9a840fa47..aa2dcc98c 100644 --- a/packages/server/src/routes/index/shares.link.test.ts +++ b/packages/server/src/routes/index/shares.link.test.ts @@ -73,6 +73,7 @@ describe('shares.link', function() { expect(bodyHtml).toContain('rendered-md'); // Means we have the HTML body expect(bodyHtml).toContain('Testing title'); // Means the note has been rendered expect(bodyHtml).toContain('Testing body'); + expect(bodyHtml).toContain('Testing title'); // Means the page title is set to the note title }); test('should load plugins', async function() {