From 8872ce89b8cb4eeaf8937f133ad50a7e940333a1 Mon Sep 17 00:00:00 2001 From: hided62 Date: Mon, 24 Aug 2026 19:54:17 +0000 Subject: [PATCH] =?UTF-8?q?test:=20=EC=88=98=EB=87=8C=20=EC=9D=BC=EA=B4=84?= =?UTF-8?q?=20=EC=9E=85=EB=A0=A5=EC=9D=98=20=EA=B3=B5=ED=86=B5=20=EA=B2=80?= =?UTF-8?q?=EC=A6=9D=20=EC=88=9C=EC=84=9C=EB=A5=BC=20=EA=B3=A0=EC=A0=95?= =?UTF-8?q?=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/game-api/test/router.test.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/game-api/test/router.test.ts b/app/game-api/test/router.test.ts index 796f0a19..02d5df3d 100644 --- a/app/game-api/test/router.test.ts +++ b/app/game-api/test/router.test.ts @@ -1164,6 +1164,19 @@ describe('appRouter', () => { expectedRevision: 0, }) ).rejects.toMatchObject({ code: 'BAD_REQUEST' }); + await expect( + malformedCaller.turns.reserved.setNationBulk({ + generalId: general.id, + entries: [ + { + turnList: [0], + action: 'che_포상', + args: { isGold: true, amount: '1', destGeneralId: 7 }, + }, + ], + expectedRevision: 0, + }) + ).rejects.toMatchObject({ code: 'BAD_REQUEST' }); expect(malformedWrites).toHaveLength(0); expect(malformedUpdates).toHaveLength(0);