test: 수뇌 일괄 입력의 공통 검증 순서를 고정한다
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user