test: 수뇌 일괄 입력의 공통 검증 순서를 고정한다

This commit is contained in:
2026-08-24 19:54:17 +00:00
parent 8ffeb65532
commit 8872ce89b8
+13
View File
@@ -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);