test: add animeEpisodeSrcs test

This commit is contained in:
Ritesh Ghosh
2024-03-03 23:10:12 +05:30
parent 0b384cf1cc
commit 901d222521
+13
View File
@@ -0,0 +1,13 @@
import { expect, test } from "vitest";
import { scrapeAnimeEpisodeSources } from "../src/parsers/index.js";
test("returns anime episode streaming link(s)", async () => {
const data = await scrapeAnimeEpisodeSources(
"steinsgate-3?ep=230",
"vidstreaming",
"sub"
);
expect(data.sources).not.toEqual([]);
// expect(data)
});