This repository has been archived on 2026-07-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
aniwatch-api/test/estimatedSchedule.test.ts
T

12 lines
358 B
TypeScript

import { expect, test } from "vitest";
import { scrapeEstimatedSchedule } from "../src/parsers/index.js";
test("returns estimated schedule anime release", async () => {
const d = new Date();
const data = await scrapeEstimatedSchedule(
`${d.getFullYear()}-${d.getMonth() + 1}-${d.getDate()}`
);
expect(data.scheduledAnimes).not.toEqual([]);
});