mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-11 14:07:09 +03:00
Send video duration if known
This commit is contained in:
@@ -239,6 +239,8 @@ describe("getBranding", () => {
|
||||
|
||||
const timeAbsolute = randomTime * videoDuration;
|
||||
assert.ok(timeAbsolute < 1 || (timeAbsolute > 11 && timeAbsolute < 20) || timeAbsolute > 33);
|
||||
|
||||
assert.strictEqual(result1.data.videoDuration, 100);
|
||||
});
|
||||
|
||||
async function checkVideo(videoID: string, videoIDHash: string, expected: {
|
||||
|
||||
Reference in New Issue
Block a user