fix: fixed tests regarding episode sources

This commit is contained in:
WBRK-dev
2024-07-18 19:34:09 +02:00
parent 4437ef24cc
commit bf2c69e7ab
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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",
+1 -1
View File
@@ -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"
); );