test: add estimatedSchedule test

This commit is contained in:
Ritesh Ghosh
2024-03-03 23:10:49 +05:30
parent 9188054aca
commit 5bb6f098d5
+8
View File
@@ -0,0 +1,8 @@
import { expect, test } from "vitest";
import { scrapeEstimatedSchedule } from "../src/parsers/index.js";
test("returns estimated schedule anime release", async () => {
const data = await scrapeEstimatedSchedule("2024-03-30");
expect(data.scheduledAnimes).not.toEqual([]);
});