diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-14 14:34:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-14 14:34:55 +0100 |
commit | a742347d50234793fceb08034c20e6881a65d544 (patch) | |
tree | cf8fd44ef83f798842178fb69104900404db7fdc /server/tests | |
parent | 2f061e065ab43cc0b73595b619639a92952aeeba (diff) | |
download | PeerTube-a742347d50234793fceb08034c20e6881a65d544.tar.gz PeerTube-a742347d50234793fceb08034c20e6881a65d544.tar.zst PeerTube-a742347d50234793fceb08034c20e6881a65d544.zip |
Fix transcoding test
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/transcoding/audio-only.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/tests/api/transcoding/audio-only.ts b/server/tests/api/transcoding/audio-only.ts index 1897c6d6d..b72f5fdbe 100644 --- a/server/tests/api/transcoding/audio-only.ts +++ b/server/tests/api/transcoding/audio-only.ts | |||
@@ -89,7 +89,12 @@ describe('Test audio only video transcoding', function () { | |||
89 | expect(audioStream['bit_rate']).to.be.at.most(384 * 8000) | 89 | expect(audioStream['bit_rate']).to.be.at.most(384 * 8000) |
90 | 90 | ||
91 | const size = await getVideoStreamDimensionsInfo(path) | 91 | const size = await getVideoStreamDimensionsInfo(path) |
92 | expect(size).to.not.exist | 92 | |
93 | expect(size.height).to.equal(0) | ||
94 | expect(size.width).to.equal(0) | ||
95 | expect(size.isPortraitMode).to.be.false | ||
96 | expect(size.ratio).to.equal(0) | ||
97 | expect(size.resolution).to.equal(0) | ||
93 | } | 98 | } |
94 | }) | 99 | }) |
95 | 100 | ||