test: using vitest for testing
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { scrapeAnimeCategory } from "../src/parsers";
|
||||
import { expect, test } from "vitest";
|
||||
import { scrapeAnimeCategory } from "../src/parsers/index.js";
|
||||
|
||||
test("returns animes belonging to a category", async () => {
|
||||
const data = await scrapeAnimeCategory("subbed-anime");
|
||||
|
||||
Reference in New Issue
Block a user