Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM committed Nov 4, 2023
1 parent 8fc1343 commit fdd432b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/shuffleVideo.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ describe('shuffleVideo', function () {
expect(playlistInfoAfter.lastVideoPublishedAt.substring(0, 10)).to.be(playlistInfoBefore.lastVideoPublishedAt.substring(0, 10));
if (input.playlistModifiers.containsDeletedVideos === 'LocalPlaylistContainsDeletedVideos') {
expect(getAllVideosAsOneObject(playlistInfoAfter)).to.have.keys(Object.keys({ ...input.localVideos, ...input.dbVideos }));
} else if(input.playlistModifiers.lastUpdatedDBAt !== 'DBEntryDoesNotExist') {
} else if (input.playlistModifiers.lastUpdatedDBAt !== 'DBEntryDoesNotExist') {
expect(playlistInfoAfter.videos).to.eql(playlistInfoBefore.videos);
} else {
// If the DB entry does not exist, we overwrite possible local knowledge about known videos and shorts
Expand Down

0 comments on commit fdd432b

Please sign in to comment.