X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fshared%2Fvideos.ts;h=e18329e07677279d9b7703a74577c0021f14bf2b;hb=2166c058f34dff6f91566930d12448805d829de7;hp=6be094f2bfcea4f21311f31976da7382ef9874dc;hpb=3318147300b4f998adf728eb0a5a14a4c1829c51;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/shared/videos.ts b/server/tests/shared/videos.ts index 6be094f2b..e18329e07 100644 --- a/server/tests/shared/videos.ts +++ b/server/tests/shared/videos.ts @@ -115,6 +115,7 @@ async function completeVideoCheck ( // Transcoding enabled: extension will always be .mp4 if (attributes.files.length > 1) extension = '.mp4' + expect(file.id).to.exist expect(file.magnetUri).to.have.lengthOf.above(2) expect(file.torrentDownloadUrl).to.match(new RegExp(`http://${host}/download/torrents/${uuidRegex}-${file.resolution.id}.torrent`))