import { join } from 'path'
import { getAudioStream, getVideoStreamSize } from '@server/helpers/ffprobe-utils'
import {
+ buildServerDirectory,
cleanupTests,
doubleFollow,
flushAndRunMultipleServers,
getVideo,
- root,
ServerInfo,
setAccessTokensToServers,
uploadVideo,
it('0p transcoded video should not have video', async function () {
const paths = [
- join(root(), 'test' + servers[0].internalServerNumber, 'videos', videoUUID + '-0.mp4'),
- join(root(), 'test' + servers[0].internalServerNumber, 'streaming-playlists', 'hls', videoUUID, videoUUID + '-0-fragmented.mp4')
+ buildServerDirectory(servers[0], join('videos', videoUUID + '-0.mp4')),
+ buildServerDirectory(servers[0], join('streaming-playlists', 'hls', videoUUID, videoUUID + '-0-fragmented.mp4'))
]
for (const path of paths) {