-import { cleanupTests, flushAndRunServer, ServerInfo } from '../../../shared/extra-utils/server/servers'
-import {
- createVideoPlaylist,
- getPluginTestPath,
- getVideo,
- getVideoCategories,
- getVideoLanguages,
- getVideoLicences, getVideoPlaylistPrivacies, getVideoPrivacies,
- installPlugin,
- setAccessTokensToServers,
- uninstallPlugin,
- uploadVideo
-} from '../../../shared/extra-utils'
-import { VideoDetails, VideoPlaylistPrivacy } from '../../../shared/models/videos'
-import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes'
+import * as chai from 'chai'
+import { HttpStatusCode } from '@shared/core-utils'
+import { cleanupTests, createSingleServer, PluginsCommand, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils'
+import { VideoPlaylistPrivacy } from '@shared/models'