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
+4 -4
View File
@@ -5,13 +5,13 @@ const padZero = (num: number) => (num < 10 ? `0${num}` : num.toString());
const d = new Date();
const date = `${d.getFullYear()}-${padZero(d.getMonth() + 1)}-${padZero(
d.getDate()
d.getDate()
)}`;
// npx vitest run estimatedSchedule.test.ts
test(`GET /api/v2/hianime/schedule?date=${date}`, async () => {
const hianime = new HiAnime.Scraper();
const data = await hianime.getEstimatedSchedule(date);
const hianime = new HiAnime.Scraper();
const data = await hianime.getEstimatedSchedule(date);
expect(data.scheduledAnimes).not.toEqual([]);
expect(data.scheduledAnimes).not.toEqual([]);
});