aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r--server/tests/client.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts
index a8a697f99..35b472d76 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -2,7 +2,7 @@
2 2
3import 'mocha' 3import 'mocha'
4import * as chai from 'chai' 4import * as chai from 'chai'
5import { omit } from 'lodash' 5import { omit } from '@shared/core-utils'
6import { 6import {
7 Account, 7 Account,
8 HTMLServerConfig, 8 HTMLServerConfig,
@@ -31,7 +31,7 @@ function checkIndexTags (html: string, title: string, description: string, css:
31 expect(html).to.contain('<meta name="description" content="' + description + '" />') 31 expect(html).to.contain('<meta name="description" content="' + description + '" />')
32 expect(html).to.contain('<style class="custom-css-style">' + css + '</style>') 32 expect(html).to.contain('<style class="custom-css-style">' + css + '</style>')
33 33
34 const htmlConfig: HTMLServerConfig = omit(config, 'signup') 34 const htmlConfig: HTMLServerConfig = omit(config, [ 'signup' ])
35 const configObjectString = JSON.stringify(htmlConfig) 35 const configObjectString = JSON.stringify(htmlConfig)
36 const configEscapedString = JSON.stringify(configObjectString) 36 const configEscapedString = JSON.stringify(configObjectString)
37 37