File size: 344 Bytes
11acfd9
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
});