From bf2c69e7abf161f611d8b5c85248d63548211e79 Mon Sep 17 00:00:00 2001 From: WBRK-dev Date: Thu, 18 Jul 2024 19:34:09 +0200 Subject: [PATCH] fix: fixed tests regarding episode sources --- src/types/anime.ts | 6 +++--- test/animeEpisodeSrcs.test.ts | 2 +- 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" );