getChapterNames fix length

This commit is contained in:
Michael C 2023-09-27 23:57:53 -04:00
parent 726983bb9b
commit ad9344c92f
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

View file

@ -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));
});
};