test(tours): type the region load answer in the repo test as the contract's literal

This commit is contained in:
Maurice
2026-10-18 01:20:20 +02:00
parent 6e3eb591b5
commit 8662cb0ac0
+1 -1
View File
@@ -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' } }] };
}
)
);