diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-28 15:52:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-28 15:55:39 +0100 |
commit | 1896bca09e088b0da9d5e845407ecebae330618c (patch) | |
tree | 56041c445c0cd49aca536d0fd6b586730f4d341e /server/tests/api/videos/video-transcoder.ts | |
parent | 529b37527cff5203a0689a15ce73dcee6e1eece2 (diff) | |
download | PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.gz PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.zst PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.zip |
Support transcoding options/encoders by plugins
Diffstat (limited to 'server/tests/api/videos/video-transcoder.ts')
-rw-r--r-- | server/tests/api/videos/video-transcoder.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-transcoder.ts b/server/tests/api/videos/video-transcoder.ts index 631230f26..5ad02df2f 100644 --- a/server/tests/api/videos/video-transcoder.ts +++ b/server/tests/api/videos/video-transcoder.ts | |||
@@ -511,7 +511,9 @@ describe('Test video transcoding', function () { | |||
511 | 511 | ||
512 | const resolutions = [ 240, 360, 480, 720, 1080 ] | 512 | const resolutions = [ 240, 360, 480, 720, 1080 ] |
513 | for (const r of resolutions) { | 513 | for (const r of resolutions) { |
514 | expect(await getServerFileSize(servers[1], `videos/${videoUUID}-${r}.mp4`)).to.be.below(60_000) | 514 | const path = `videos/${videoUUID}-${r}.mp4` |
515 | const size = await getServerFileSize(servers[1], path) | ||
516 | expect(size, `${path} not below ${60_000}`).to.be.below(60_000) | ||
515 | } | 517 | } |
516 | }) | 518 | }) |
517 | 519 | ||