mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 23:47:00 +03:00
add test for downvote videoDuration change
This commit is contained in:
@@ -56,6 +56,13 @@ export class YouTubeApiMock {
|
||||
authorId: "ChannelID"
|
||||
} as APIVideoData
|
||||
};
|
||||
} else if (obj.id === "duration-changed") {
|
||||
return {
|
||||
err: null,
|
||||
data: {
|
||||
lengthSeconds: 100,
|
||||
} as APIVideoData
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
err: null,
|
||||
|
||||
Reference in New Issue
Block a user