From f550a383e7a3e7fddf55ac757040dc33a042f5dd Mon Sep 17 00:00:00 2001 From: Sayem Chowdhury Date: Tue, 6 Apr 2021 14:24:50 +0600 Subject: [PATCH] test playlist channel --- __tests__/api.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/__tests__/api.ts b/__tests__/api.ts index 5daf044..d64f8b3 100644 --- a/__tests__/api.ts +++ b/__tests__/api.ts @@ -220,3 +220,8 @@ if (process.env.CI) { t.true(lyrics.length < 8000); }); } + +test('GET PLAYLIST CHANNEL', async (t) => { + const channel = await api.getPlaylistChannel('dance'); + t.deepEqual(Object.keys(channel), ['version', 'page_id', 'ga', 'title', 'persistent', 'sections', 'expire']); +});