ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tests
Chocobozzzda992cbcab4e
diff --git a/packages/tests/src/api/videos/video-source.ts b/packages/tests/src/api/videos/video-source.tsindex 634144f136..cf7f318635 100644--- a/packages/tests/src/api/videos/video-source.ts+++ b/packages/tests/src/api/videos/video-source.ts@@ -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.existdiff --git a/packages/tests/src/shared/streaming-playlists.ts b/packages/tests/src/shared/streaming-playlists.tsindex f73313717d..7187752d34 100644--- a/packages/tests/src/shared/streaming-playlists.ts+++ b/packages/tests/src/shared/streaming-playlists.ts@@ -209,7 +209,7 @@ export async function completeCheckHlsPlaylist (options: {expect(file).to.not.be.undefinedif (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.trueexpect(file.hasVideo).to.be.false} else {diff --git a/packages/tests/src/shared/videos.ts b/packages/tests/src/shared/videos.tsindex f5dbde1c91..8e62c4eba9 100644--- a/packages/tests/src/shared/videos.ts+++ b/packages/tests/src/shared/videos.ts@@ -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.trueexpect(file.hasVideo).to.be.false} else {