test: add estimatedSchedule test
This commit is contained in:
@@ -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([]);
|
||||
});
|
||||
Reference in New Issue
Block a user