diff --git a/tests/app.test.ts b/tests/app.test.ts index b2960fc..9677466 100644 --- a/tests/app.test.ts +++ b/tests/app.test.ts @@ -1374,7 +1374,7 @@ describe("Heimdall service", () => { }); function stubJoystick(identity: Record) { - const calls: Array<{ url: string; headers: Record; body?: URLSearchParams }> = []; + const calls: Array<{ url: string; headers: Record; body?: URLSearchParams | undefined }> = []; globalThis.fetch = (async (input: string | URL, init?: RequestInit) => { const url = String(input); calls.push({ url, headers: (init?.headers ?? {}) as Record, body: init?.body as URLSearchParams | undefined });