X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideos%2Fvideo-playlists.ts;h=e4d817ff8b3784f03fac6b70752b78c757a7e7ef;hb=da3a3ab6829107b3ed7f18dda42648dfde41871d;hp=ea349f09beb583a2c8f8a5364f2d197cfca4b6a4;hpb=210feb6cc484a6c5c63c98f770de34e223f944cb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/videos/video-playlists.ts b/server/tests/api/videos/video-playlists.ts index ea349f09b..e4d817ff8 100644 --- a/server/tests/api/videos/video-playlists.ts +++ b/server/tests/api/videos/video-playlists.ts @@ -6,22 +6,23 @@ import { addVideoChannel, addVideoInPlaylist, checkPlaylistFilesWereRemoved, + cleanupTests, createUser, createVideoPlaylist, deleteVideoChannel, deleteVideoPlaylist, - doubleFollow, doVideosExistInMyPlaylist, + doubleFollow, + doVideosExistInMyPlaylist, flushAndRunMultipleServers, - flushTests, getAccountPlaylistsList, - getAccountPlaylistsListWithToken, getMyUserInformation, + getAccountPlaylistsListWithToken, + getMyUserInformation, getPlaylistVideos, getVideoChannelPlaylistsList, getVideoPlaylist, getVideoPlaylistPrivacies, getVideoPlaylistsList, getVideoPlaylistWithToken, - killallServers, removeUser, removeVideoFromPlaylist, reorderVideosPlaylist, @@ -860,7 +861,7 @@ describe('Test video playlists', function () { } }) - after(function () { - killallServers(servers) + after(async function () { + await cleanupTests(servers) }) })