diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-17 11:58:15 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-17 12:24:03 +0100 |
commit | c55e3d7227fe1453869e309025996b9d75256d5d (patch) | |
tree | 08e9b0ca210d75c82c8606fef0852eca020e8e0e /server/tests/api/videos/video-playlists.ts | |
parent | bf54587a3e2ad9c2c186828f2a5682b91ee2cc00 (diff) | |
download | PeerTube-c55e3d7227fe1453869e309025996b9d75256d5d.tar.gz PeerTube-c55e3d7227fe1453869e309025996b9d75256d5d.tar.zst PeerTube-c55e3d7227fe1453869e309025996b9d75256d5d.zip |
Move test functions outside extra-utils
Diffstat (limited to 'server/tests/api/videos/video-playlists.ts')
-rw-r--r-- | server/tests/api/videos/video-playlists.ts | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/server/tests/api/videos/video-playlists.ts b/server/tests/api/videos/video-playlists.ts index 6279f5cd0..34327334f 100644 --- a/server/tests/api/videos/video-playlists.ts +++ b/server/tests/api/videos/video-playlists.ts | |||
@@ -2,8 +2,18 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { checkPlaylistFilesWereRemoved, testImage } from '@server/tests/shared' | ||
6 | import { wait } from '@shared/core-utils' | ||
7 | import { | ||
8 | HttpStatusCode, | ||
9 | VideoPlaylist, | ||
10 | VideoPlaylistCreateResult, | ||
11 | VideoPlaylistElementType, | ||
12 | VideoPlaylistPrivacy, | ||
13 | VideoPlaylistType, | ||
14 | VideoPrivacy | ||
15 | } from '@shared/models' | ||
5 | import { | 16 | import { |
6 | checkPlaylistFilesWereRemoved, | ||
7 | cleanupTests, | 17 | cleanupTests, |
8 | createMultipleServers, | 18 | createMultipleServers, |
9 | doubleFollow, | 19 | doubleFollow, |
@@ -11,19 +21,8 @@ import { | |||
11 | PlaylistsCommand, | 21 | PlaylistsCommand, |
12 | setAccessTokensToServers, | 22 | setAccessTokensToServers, |
13 | setDefaultVideoChannel, | 23 | setDefaultVideoChannel, |
14 | testImage, | ||
15 | wait, | ||
16 | waitJobs | 24 | waitJobs |
17 | } from '@shared/server-commands' | 25 | } from '@shared/server-commands' |
18 | import { | ||
19 | HttpStatusCode, | ||
20 | VideoPlaylist, | ||
21 | VideoPlaylistCreateResult, | ||
22 | VideoPlaylistElementType, | ||
23 | VideoPlaylistPrivacy, | ||
24 | VideoPlaylistType, | ||
25 | VideoPrivacy | ||
26 | } from '@shared/models' | ||
27 | 26 | ||
28 | const expect = chai.expect | 27 | const expect = chai.expect |
29 | 28 | ||