diff options
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r-- | server/tests/client.ts | 4 |
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 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { omit } from 'lodash' | 5 | import { omit } from '@shared/core-utils' |
6 | import { | 6 | import { |
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 | ||