From afe501a6cd49fe046ac987ac6f8c09f3f730c40a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Sep 2021 09:47:59 +0200 Subject: [PATCH] Fix client tests --- server/tests/client.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/tests/client.ts b/server/tests/client.ts index 4f0d052c8..a91bec906 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts @@ -24,7 +24,10 @@ function checkIndexTags (html: string, title: string, description: string, css: expect(html).to.contain('') const htmlConfig: HTMLServerConfig = omit(config, 'signup') - expect(html).to.contain(``) + const configObjectString = JSON.stringify(htmlConfig) + const configEscapedString = JSON.stringify(configObjectString) + + expect(html).to.contain(``) } describe('Test a client controllers', function () {