aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/estimatedSchedule.test.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/estimatedSchedule.test.ts b/test/estimatedSchedule.test.ts
new file mode 100644
index 0000000..cd5f417
--- /dev/null
+++ b/test/estimatedSchedule.test.ts
@@ -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([]);
+});