From 1bbbf855fe6cecc5e5070443eb4fa2d1cb204b02 Mon Sep 17 00:00:00 2001 From: Sayem Chowdhury Date: Fri, 23 Apr 2021 17:31:58 +0600 Subject: [PATCH] update tests --- __tests__/api.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/__tests__/api.ts b/__tests__/api.ts index ebadcbb..5d9a87e 100644 --- a/__tests__/api.ts +++ b/__tests__/api.ts @@ -152,7 +152,7 @@ if (process.env.CI) { const trackWithMetadata = await api.addTrackTags(decryptedTrack, track, 500); t.true(Buffer.isBuffer(trackWithMetadata)); - t.is(trackWithMetadata.length, 3629256); + t.is(trackWithMetadata.length, 3629195); }); test('TRACK128 WITHOUT ALBUM INFO', async (t) => { @@ -190,7 +190,7 @@ if (process.env.CI) { const trackWithMetadata = await api.addTrackTags(decryptedTrack, track, 500); t.true(Buffer.isBuffer(trackWithMetadata)); - t.is(trackWithMetadata.length, 9023438); + t.is(trackWithMetadata.length, 9023377); }); test('DOWNLOAD TRACK1411 & ADD METADATA', async (t) => { @@ -216,8 +216,8 @@ if (process.env.CI) { const lyrics = await getLyricsMusixmatch(`${track.ART_NAME} - ${track.SNG_TITLE}`); t.truthy(lyrics); - t.true(lyrics.length > 7000); - t.true(lyrics.length < 8000); + t.true(lyrics.length > 1600); + t.true(lyrics.length < 1700); }); }