Fix tests

This commit is contained in:
Chocobozzz 2024-08-07 08:17:40 +02:00
parent 615cc77dcd
commit da992cbcab
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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 {

View File

@ -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 {