X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideos%2Fvideo-playlists.ts;h=34327334f183a06982cc91f4a675bf4baa1f2bc3;hb=d511df28906f84c7d25ecb24e41515ed549ff276;hp=f42aee2ffb05a5d7d6f0d77bb2306902a5c8194c;hpb=a24bd1ed41b43790bab6ba789580bb4e85f07d85;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/videos/video-playlists.ts b/server/tests/api/videos/video-playlists.ts index f42aee2ff..34327334f 100644 --- a/server/tests/api/videos/video-playlists.ts +++ b/server/tests/api/videos/video-playlists.ts @@ -2,19 +2,8 @@ import 'mocha' import * as chai from 'chai' -import { - checkPlaylistFilesWereRemoved, - cleanupTests, - createMultipleServers, - doubleFollow, - PeerTubeServer, - PlaylistsCommand, - setAccessTokensToServers, - setDefaultVideoChannel, - testImage, - wait, - waitJobs -} from '@shared/extra-utils' +import { checkPlaylistFilesWereRemoved, testImage } from '@server/tests/shared' +import { wait } from '@shared/core-utils' import { HttpStatusCode, VideoPlaylist, @@ -24,6 +13,16 @@ import { VideoPlaylistType, VideoPrivacy } from '@shared/models' +import { + cleanupTests, + createMultipleServers, + doubleFollow, + PeerTubeServer, + PlaylistsCommand, + setAccessTokensToServers, + setDefaultVideoChannel, + waitJobs +} from '@shared/server-commands' const expect = chai.expect