Fix transcoding test
This commit is contained in:
parent
2f061e065a
commit
a742347d50
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue