From 8662cb0ac0fd67fce43fa9b8dcf0f1a83af540a8 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 18 Oct 2026 01:20:20 +0200 Subject: [PATCH] test(tours): type the region load answer in the repo test as the contract's literal --- client/src/repo/paddleRegionLoadRepo.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/repo/paddleRegionLoadRepo.test.ts b/client/src/repo/paddleRegionLoadRepo.test.ts index 0ec9dc83a..6c2242ad7 100644 --- a/client/src/repo/paddleRegionLoadRepo.test.ts +++ b/client/src/repo/paddleRegionLoadRepo.test.ts @@ -22,7 +22,7 @@ describe('paddleRegionLoadRepo', () => { { request: paddleRegionLoadRequestSchema, response: paddleRegionLoadResponseSchema }, async ({ request }) => { bodies.push(await request.json()); - return { points: [{ state: 'ready', region: { id: 'mv', name: 'Mecklenburg' } }] }; + return { points: [{ state: 'ready' as const, region: { id: 'mv', name: 'Mecklenburg' } }] }; } ) );