From 12f02ce0edb690c88dd33152582bcc25e914dc68 Mon Sep 17 00:00:00 2001 From: Stefan Lobbenmeier Date: Sat, 31 Aug 2024 16:19:15 +0200 Subject: [PATCH] Release v2.5.5 --- package-lock.json | 4 ++-- package.json | 2 +- tests/Utils.test.js | 10 +--------- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 002e1ced..8008b0a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "youtube-dl-gui", - "version": "2.5.4", + "version": "2.5.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "youtube-dl-gui", - "version": "2.5.4", + "version": "2.5.5", "license": "AGPL-3.0-only", "dependencies": { "adm-zip": "^0.5.10", diff --git a/package.json b/package.json index ee0bafc1..1949ef2d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "youtube-dl-gui", - "version": "2.5.4", + "version": "2.5.5", "description": "Open Video Downloader", "main": "main.js", "scripts": { diff --git a/tests/Utils.test.js b/tests/Utils.test.js index 69990ec7..868d704e 100644 --- a/tests/Utils.test.js +++ b/tests/Utils.test.js @@ -241,7 +241,7 @@ describe("generatePlaylistMetadata", () => { } } expect(result).toHaveLength(2); - expect(result).toEqual([expectedResult(0, "test__url"), expectedResult(1, "https://youtube.com/watch?v=test__yt_id")]) + expect(result).toEqual([expectedResult(0, "test__url"), expectedResult(1, "test__yt_id")]) }) it("returns the id for playlist when the title is null", () => { const query = { @@ -282,14 +282,6 @@ describe('getVideoInPlaylistMetadata', () => { const result = Utils.getVideoInPlaylistMetadata(video_url, null, [metadata]); expect(result).toBe(metadata); }) - it("gets metadata from a video and playlist url", () => { - const video_url = "test__video_url"; - const playlist_url = "test__playlist_url"; - const metadata = {video_url: "test__video_url", playlist_url: "test__playlist_url"}; - const decoy = {video_url: "test__video_url", playlist_url: "another_playlist_url"}; - const result = Utils.getVideoInPlaylistMetadata(video_url, playlist_url, [decoy, metadata]); - expect(result).toBe(metadata); - }) it("returns null if metadata is not iterable", () => { const video_url = "test__video_url"; const playlist_url = "test__playlist_url";