feat: added mostPopular, mostFavorite and latestCompleted to the home route response

This commit is contained in:
WBRK-dev
2024-07-21 10:18:05 +02:00
parent 62fa83a56d
commit 5d929461ce
5 changed files with 56 additions and 2 deletions
+3
View File
@@ -9,6 +9,9 @@ test("returns anime information present in homepage", async () => {
expect(data.latestEpisodeAnimes).not.toEqual([]);
expect(data.topUpcomingAnimes).not.toEqual([]);
expect(data.topAiringAnimes).not.toEqual([]);
expect(data.mostPopularAnimes).not.toEqual([]);
expect(data.mostFavoriteAnimes).not.toEqual([]);
expect(data.latestCompletedAnimes).not.toEqual([]);
expect(data.genres).not.toEqual([]);
expect(data.top10Animes.today).not.toEqual([]);