Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Aug 7, 2024
1 parent 615cc77 commit da992cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/tests/src/api/videos/video-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src/shared/streaming-playlists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src/shared/videos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit da992cb

Please sign in to comment.