style: prettier format changes

This commit is contained in:
Ritesh Ghosh
2025-05-11 13:05:23 +05:30
parent 21ca35904b
commit 797fc2455c
17 changed files with 326 additions and 339 deletions
+7 -7
View File
@@ -5,12 +5,12 @@ const category = "subbed-anime";
// npx vitest run animeCategory.test.ts
test(`GET /api/v2/hianime/category/${category}`, async () => {
const hianime = new HiAnime.Scraper();
const data = await hianime.getCategoryAnime(category);
const hianime = new HiAnime.Scraper();
const data = await hianime.getCategoryAnime(category);
expect(data.animes).not.toEqual([]);
expect(data.genres).not.toEqual([]);
expect(data.top10Animes.today).not.toEqual([]);
expect(data.top10Animes.week).not.toEqual([]);
expect(data.top10Animes.month).not.toEqual([]);
expect(data.animes).not.toEqual([]);
expect(data.genres).not.toEqual([]);
expect(data.top10Animes.today).not.toEqual([]);
expect(data.top10Animes.week).not.toEqual([]);
expect(data.top10Animes.month).not.toEqual([]);
});