diff options
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r-- | server/tests/client.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts index 0cb460327..39ba5fdf6 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import * as chai from 'chai' | 3 | import { expect } from 'chai' |
4 | import { omit } from '@shared/core-utils' | 4 | import { omit } from '@shared/core-utils' |
5 | import { | 5 | import { |
6 | Account, | 6 | Account, |
@@ -23,8 +23,6 @@ import { | |||
23 | waitJobs | 23 | waitJobs |
24 | } from '../../shared/server-commands' | 24 | } from '../../shared/server-commands' |
25 | 25 | ||
26 | const expect = chai.expect | ||
27 | |||
28 | function checkIndexTags (html: string, title: string, description: string, css: string, config: ServerConfig) { | 26 | function checkIndexTags (html: string, title: string, description: string, css: string, config: ServerConfig) { |
29 | expect(html).to.contain('<title>' + title + '</title>') | 27 | expect(html).to.contain('<title>' + title + '</title>') |
30 | expect(html).to.contain('<meta name="description" content="' + description + '" />') | 28 | expect(html).to.contain('<meta name="description" content="' + description + '" />') |