style: add prettier and format codebase

This commit is contained in:
Deivid Soto 2026-02-12 15:22:11 +01:00
parent bf459740fe
commit 2f58ac7bf8
18 changed files with 151 additions and 70 deletions

View file

@ -110,10 +110,13 @@ describe("TorrentClawClient cache integration", () => {
(globalThis.fetch as ReturnType<typeof vi.fn>)
.mockResolvedValueOnce(new Response("Server error", { status: 500 }))
.mockResolvedValueOnce(
new Response(JSON.stringify({ total: 0, page: 1, pageSize: 10, results: [] }), {
status: 200,
headers: { "Content-Type": "application/json" },
}),
new Response(
JSON.stringify({ total: 0, page: 1, pageSize: 10, results: [] }),
{
status: 200,
headers: { "Content-Type": "application/json" },
},
),
);
const client = new TorrentClawClient();