Browse Source

Fix transcoding test

develop
Chocobozzz 1 week ago
parent
commit
a742347d50
No known key found for this signature in database GPG Key ID: 583A612D890159BE
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      server/tests/api/transcoding/audio-only.ts

+ 6
- 1
server/tests/api/transcoding/audio-only.ts View File

@@ -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)
}
})



Loading…
Cancel
Save