aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWBRK-dev <[email protected]>2024-07-18 19:34:09 +0200
committerWBRK-dev <[email protected]>2024-07-18 19:34:09 +0200
commitbf2c69e7abf161f611d8b5c85248d63548211e79 (patch)
tree3e188b6eabcf4d5e4130be75eea4eba8235bd08e
parent4437ef24cc224e784701fbed2fa26e1ce90e04a5 (diff)
downloadaniwatch-api-bf2c69e7abf161f611d8b5c85248d63548211e79.tar.xz
aniwatch-api-bf2c69e7abf161f611d8b5c85248d63548211e79.zip
fix: fixed tests regarding episode sources
-rw-r--r--src/types/anime.ts6
-rw-r--r--test/animeEpisodeSrcs.test.ts2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/types/anime.ts b/src/types/anime.ts
index 782add8..52bf13a 100644
--- a/src/types/anime.ts
+++ b/src/types/anime.ts
@@ -114,11 +114,11 @@ export type AnimeCategories =
| "completed";
export type AnimeServers =
- | "vidstreaming"
+ | "hd-1"
+ | "hd-2"
| "megacloud"
| "streamsb"
- | "streamtape"
- | "vidcloud";
+ | "streamtape";
export enum Servers {
VidStreaming = "hd-1",
diff --git a/test/animeEpisodeSrcs.test.ts b/test/animeEpisodeSrcs.test.ts
index 3aed842..1c6f160 100644
--- a/test/animeEpisodeSrcs.test.ts
+++ b/test/animeEpisodeSrcs.test.ts
@@ -4,7 +4,7 @@ import { scrapeAnimeEpisodeSources } from "../src/parsers/index.js";
test("returns anime episode streaming link(s)", async () => {
const data = await scrapeAnimeEpisodeSources(
"steinsgate-3?ep=230",
- "vidstreaming",
+ "hd-1",
"sub"
);