mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-09-19 20:51:19 +02:00
getChapterNames fix length
This commit is contained in:
parent
726983bb9b
commit
ad9344c92f
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ describe("getChapterNames", function () {
|
|||
return client.get(`${endpoint}?description=${query}&channelID=${chapterChannelID}`)
|
||||
.then(res => {
|
||||
assert.strictEqual(res.status, 200);
|
||||
assert.strictEqual(res.data.length, 1);
|
||||
assert.strictEqual(res.data.length, chapterNames.length);
|
||||
assert.ok(partialDeepEquals(res.data, expectedData));
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue