File size: 303 Bytes
11acfd9 |
1 2 3 4 5 6 7 8 9 |
import { expect, test } from "vitest";
import { scrapeAnimeSearchSuggestion } from "../src/parsers/index.js";
test("returns animes search suggestions related to search query", async () => {
const data = await scrapeAnimeSearchSuggestion("one piece");
expect(data.suggestions).not.toEqual([]);
});
|