aboutsummaryrefslogtreecommitdiff
path: root/test/homePage.test.ts
diff options
context:
space:
mode:
authorWBRK-dev <[email protected]>2024-07-21 10:18:05 +0200
committerWBRK-dev <[email protected]>2024-07-21 10:18:05 +0200
commit5d929461ce918006b9c3977e5af5f76799e820b3 (patch)
tree39c624d91029959ad0d4f2af8e1dd8b911d6f728 /test/homePage.test.ts
parent62fa83a56d5e5ea4cc5e7b38b478208b0c5e6a72 (diff)
downloadaniwatch-api-5d929461ce918006b9c3977e5af5f76799e820b3.tar.xz
aniwatch-api-5d929461ce918006b9c3977e5af5f76799e820b3.zip
feat: added `mostPopular`, `mostFavorite` and `latestCompleted` to the home route response
Diffstat (limited to 'test/homePage.test.ts')
-rw-r--r--test/homePage.test.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/homePage.test.ts b/test/homePage.test.ts
index 192a060..25b409c 100644
--- a/test/homePage.test.ts
+++ b/test/homePage.test.ts
@@ -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([]);