add innertube tests for private videos

This commit is contained in:
Michael C
2022-11-09 14:39:02 -05:00
parent 90e68caaf7
commit 7fb68937d0
5 changed files with 53 additions and 3 deletions

View File

@@ -46,4 +46,9 @@ describe("innertube API test", function() {
const videoDetail = await getVideoDetails(videoID);
assert.ok(videoDetail);
});
it("Should not fail when getting data for private video", async function () {
const privateVideoId = "ZuibAax0VD8";
const videoDetail = await getVideoDetails(privateVideoId);
assert.ok(videoDetail);
});
});