From ad9344c92f81df4d3cece93713e60ef6340bf102 Mon Sep 17 00:00:00 2001 From: Michael C Date: Wed, 27 Sep 2023 23:57:53 -0400 Subject: [PATCH] getChapterNames fix length --- test/cases/getChapterNames.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cases/getChapterNames.ts b/test/cases/getChapterNames.ts index c4cc1d9..01bb7c5 100644 --- a/test/cases/getChapterNames.ts +++ b/test/cases/getChapterNames.ts @@ -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)); }); };