diff options
Diffstat (limited to 'server/tests/api/videos/video-channels.ts')
-rw-r--r-- | server/tests/api/videos/video-channels.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts index b7645ea59..86a8a038c 100644 --- a/server/tests/api/videos/video-channels.ts +++ b/server/tests/api/videos/video-channels.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 { basename } from 'path' | 4 | import { basename } from 'path' |
5 | import { ACTOR_IMAGES_SIZE } from '@server/initializers/constants' | 5 | import { ACTOR_IMAGES_SIZE } from '@server/initializers/constants' |
6 | import { testFileExistsOrNot, testImage } from '@server/tests/shared' | 6 | import { testFileExistsOrNot, testImage } from '@server/tests/shared' |
@@ -17,8 +17,6 @@ import { | |||
17 | waitJobs | 17 | waitJobs |
18 | } from '@shared/server-commands' | 18 | } from '@shared/server-commands' |
19 | 19 | ||
20 | const expect = chai.expect | ||
21 | |||
22 | async function findChannel (server: PeerTubeServer, channelId: number) { | 20 | async function findChannel (server: PeerTubeServer, channelId: number) { |
23 | const body = await server.channels.list({ sort: '-name' }) | 21 | const body = await server.channels.list({ sort: '-name' }) |
24 | 22 | ||