Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix transcoding test

Chocobozzza742347d5023
diff --git a/server/tests/api/transcoding/audio-only.ts b/server/tests/api/transcoding/audio-only.ts
index 1897c6d6dd..b72f5fdbee 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 () {
expect(audioStream['bit_rate']).to.be.at.most(384 * 8000)
const size = await getVideoStreamDimensionsInfo(path)
- expect(size).to.not.exist
+
+ expect(size.height).to.equal(0)
+ expect(size.width).to.equal(0)
+ expect(size.isPortraitMode).to.be.false
+ expect(size.ratio).to.equal(0)
+ expect(size.resolution).to.equal(0)
}
})