Skip to content

Commit

Permalink
Release v2.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanLobbenmeier authored and mp3butcher committed Oct 2, 2024
1 parent da94e94 commit 9c63ba0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "youtube-dl-gui",
"version": "2.5.4",
"version": "2.5.5",
"description": "Open Video Downloader",
"main": "main.js",
"scripts": {
Expand Down
10 changes: 1 addition & 9 deletions tests/Utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 9c63ba0

Please sign in to comment.