Fix tests
This commit is contained in:
parent
615cc77dcd
commit
da992cbcab
|
@ -142,7 +142,7 @@ describe('Test video source management', function () {
|
|||
expect(source.height).to.equal(0)
|
||||
expect(source.width).to.equal(0)
|
||||
expect(source.resolution.id).to.equal(0)
|
||||
expect(source.resolution.label).to.equal('Audio')
|
||||
expect(source.resolution.label).to.equal('Audio only')
|
||||
expect(source.size).to.equal(105243)
|
||||
|
||||
expect(source.metadata?.format).to.exist
|
||||
|
|
|
@ -209,7 +209,7 @@ export async function completeCheckHlsPlaylist (options: {
|
|||
expect(file).to.not.be.undefined
|
||||
|
||||
if (file.resolution.id === VideoResolution.H_NOVIDEO) {
|
||||
expect(file.resolution.label).to.equal('Audio')
|
||||
expect(file.resolution.label).to.equal('Audio only')
|
||||
expect(file.hasAudio).to.be.true
|
||||
expect(file.hasVideo).to.be.false
|
||||
} else {
|
||||
|
|
|
@ -107,7 +107,7 @@ export async function completeWebVideoFilesCheck (options: {
|
|||
expect(file.resolution.id).to.equal(attributeFile.resolution)
|
||||
|
||||
if (file.resolution.id === VideoResolution.H_NOVIDEO) {
|
||||
expect(file.resolution.label).to.equal('Audio')
|
||||
expect(file.resolution.label).to.equal('Audio only')
|
||||
expect(file.hasAudio).to.be.true
|
||||
expect(file.hasVideo).to.be.false
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue