X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideos%2Fvideo-playlists.ts;h=34327334f183a06982cc91f4a675bf4baa1f2bc3;hb=d511df28906f84c7d25ecb24e41515ed549ff276;hp=9a28a421ad999c61be160283dd1f920417db3b9a;hpb=c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/videos/video-playlists.ts b/server/tests/api/videos/video-playlists.ts index 9a28a421a..34327334f 100644 --- a/server/tests/api/videos/video-playlists.ts +++ b/server/tests/api/videos/video-playlists.ts @@ -2,21 +2,10 @@ import 'mocha' import * as chai from 'chai' -import { HttpStatusCode } from '@shared/models' -import { - checkPlaylistFilesWereRemoved, - cleanupTests, - doubleFollow, - createMultipleServers, - PlaylistsCommand, - PeerTubeServer, - 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, VideoPlaylistCreateResult, VideoPlaylistElementType, @@ -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