From 9b3d44f56a677bff28be23543a5cba4eb5685668 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 19 Oct 2026 11:25:01 +0200 Subject: [PATCH] Tests: satisfy exactOptionalPropertyTypes in the Joystick stub Co-Authored-By: Claude Opus 5.5 --- tests/app.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });