diff options
| author | Ritesh Ghosh <[email protected]> | 2024-03-03 23:10:12 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2024-03-03 23:10:12 +0530 |
| commit | 901d222521fb4a0d76769efb01bd37d2b3dfa0e6 (patch) | |
| tree | b9ccc462143a7bbe03a7fa7fa3a8879b766e7e69 /test | |
| parent | 0b384cf1cc2824d41bd9baa6704d1df51d0fccc7 (diff) | |
| download | aniwatch-api-901d222521fb4a0d76769efb01bd37d2b3dfa0e6.tar.xz aniwatch-api-901d222521fb4a0d76769efb01bd37d2b3dfa0e6.zip | |
test: add animeEpisodeSrcs test
Diffstat (limited to 'test')
| -rw-r--r-- | test/animeEpisodeSrcs.test.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/animeEpisodeSrcs.test.ts b/test/animeEpisodeSrcs.test.ts new file mode 100644 index 0000000..3aed842 --- /dev/null +++ b/test/animeEpisodeSrcs.test.ts @@ -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) +}); |
