import { join } from 'path'
import { VideoPrivacy } from '../../../../shared/models/videos/video-privacy.enum'
import {
+ cleanupTests,
createUser,
- flushTests,
+ flushAndRunServer,
getMyUserInformation,
immutableAssign,
- killallServers,
makeGetRequest,
makePostBodyRequest,
makeUploadRequest,
- flushAndRunServer,
ServerInfo,
setAccessTokensToServers,
updateCustomSubConfig,
support: 'my super support text',
tags: [ 'tag1', 'tag2' ],
privacy: VideoPrivacy.PUBLIC,
- channelId: channelId
+ channelId
}
})
})
})
- after(function () {
- killallServers([ server ])
+ after(async function () {
+ await cleanupTests([ server ])
})
})