diff options
| author | Ritesh Ghosh <[email protected]> | 2024-03-03 23:10:49 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2024-03-03 23:10:49 +0530 |
| commit | 5bb6f098d525ba3542159476f0f35f82703e2c8a (patch) | |
| tree | b01498deacc496d7db72b759c5db1db3c8330886 | |
| parent | 9188054aca34cd7ad4b481e4b53223b5640bf9f0 (diff) | |
| download | aniwatch-api-5bb6f098d525ba3542159476f0f35f82703e2c8a.tar.xz aniwatch-api-5bb6f098d525ba3542159476f0f35f82703e2c8a.zip | |
test: add estimatedSchedule test
| -rw-r--r-- | test/estimatedSchedule.test.ts | 8 |
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([]); +}); |
