mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-12 06:27:10 +03:00
getChapterNames fix length
This commit is contained in:
@@ -25,7 +25,7 @@ describe("getChapterNames", function () {
|
|||||||
return client.get(`${endpoint}?description=${query}&channelID=${chapterChannelID}`)
|
return client.get(`${endpoint}?description=${query}&channelID=${chapterChannelID}`)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
assert.strictEqual(res.status, 200);
|
assert.strictEqual(res.status, 200);
|
||||||
assert.strictEqual(res.data.length, 1);
|
assert.strictEqual(res.data.length, chapterNames.length);
|
||||||
assert.ok(partialDeepEquals(res.data, expectedData));
|
assert.ok(partialDeepEquals(res.data, expectedData));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user