fix: fixed tests regarding episode sources
This commit is contained in:
+3
-3
@@ -114,11 +114,11 @@ export type AnimeCategories =
|
|||||||
| "completed";
|
| "completed";
|
||||||
|
|
||||||
export type AnimeServers =
|
export type AnimeServers =
|
||||||
| "vidstreaming"
|
| "hd-1"
|
||||||
|
| "hd-2"
|
||||||
| "megacloud"
|
| "megacloud"
|
||||||
| "streamsb"
|
| "streamsb"
|
||||||
| "streamtape"
|
| "streamtape";
|
||||||
| "vidcloud";
|
|
||||||
|
|
||||||
export enum Servers {
|
export enum Servers {
|
||||||
VidStreaming = "hd-1",
|
VidStreaming = "hd-1",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { scrapeAnimeEpisodeSources } from "../src/parsers/index.js";
|
|||||||
test("returns anime episode streaming link(s)", async () => {
|
test("returns anime episode streaming link(s)", async () => {
|
||||||
const data = await scrapeAnimeEpisodeSources(
|
const data = await scrapeAnimeEpisodeSources(
|
||||||
"steinsgate-3?ep=230",
|
"steinsgate-3?ep=230",
|
||||||
"vidstreaming",
|
"hd-1",
|
||||||
"sub"
|
"sub"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user