Fix transcoding test
This commit is contained in:
parent
2f061e065a
commit
a742347d50
|
@ -89,7 +89,12 @@ describe('Test audio only video transcoding', function () {
|
||||||
expect(audioStream['bit_rate']).to.be.at.most(384 * 8000)
|
expect(audioStream['bit_rate']).to.be.at.most(384 * 8000)
|
||||||
|
|
||||||
const size = await getVideoStreamDimensionsInfo(path)
|
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 New Issue
Block a user