Skip to content

Commit ad9344c

Browse files
committed
getChapterNames fix length
1 parent 726983b commit ad9344c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/getChapterNames.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe("getChapterNames", function () {
2525
return client.get(`${endpoint}?description=${query}&channelID=${chapterChannelID}`)
2626
.then(res => {
2727
assert.strictEqual(res.status, 200);
28-
assert.strictEqual(res.data.length, 1);
28+
assert.strictEqual(res.data.length, chapterNames.length);
2929
assert.ok(partialDeepEquals(res.data, expectedData));
3030
});
3131
};

0 commit comments

Comments
 (0)