aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/transcoding/audio-only.ts7
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