From a4a39ee4cebfbde291c42b07c1439a18e6f28b32 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' } }] }; } ) );