test playlist channel

This commit is contained in:
Sayem Chowdhury 2021-04-06 14:24:50 +06:00
parent 4c3ac62943
commit f550a383e7

View File

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