test: preload mocked modules

This commit is contained in:
2024-06-15 06:24:29 -04:00
parent d39165c8f6
commit dfd709ad1c
5 changed files with 30 additions and 37 deletions

View File

@@ -2,10 +2,8 @@ import { describe, expect, it } from "bun:test";
import app from "~/index";
import { server } from "~/mocks";
import { mockConsumet } from "~/mocks/consumet";
server.listen();
mockConsumet();
describe('requests the "/episodes/:id/url" route', () => {
it("with sources from Anify", async () => {