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 () {