fix tied conflict conquest order
This commit is contained in:
@@ -85,6 +85,7 @@ integration('core ↔ legacy command-boundary differential', () => {
|
||||
['live sortie noncapital conquest', 'fixtures/turn-differential/live-sortie-noncapital-conquest.json'],
|
||||
['live sortie emergency capital', 'fixtures/turn-differential/live-sortie-emergency-capital.json'],
|
||||
['live sortie conflict arbitration', 'fixtures/turn-differential/live-sortie-conflict-arbitration.json'],
|
||||
['live sortie tied conflict', 'fixtures/turn-differential/live-sortie-conflict-tie.json'],
|
||||
])(
|
||||
'%s matches command RNG and canonical state delta',
|
||||
async (_label, fixturePath) => {
|
||||
@@ -146,6 +147,13 @@ integration('core ↔ legacy command-boundary differential', () => {
|
||||
);
|
||||
expect(arbitrationLogs.some((log) => String(log.text).includes('【분쟁협상】'))).toBe(true);
|
||||
}
|
||||
if (fixturePath.endsWith('live-sortie-conflict-tie.json')) {
|
||||
expect(reference.after.cities.find((city) => city.id === 70)).toMatchObject({
|
||||
nationId: 4,
|
||||
conflict: {},
|
||||
});
|
||||
expect(reference.after.generals.find((general) => general.id === 1)?.cityId).toBe(3);
|
||||
}
|
||||
|
||||
expect(core.execution.outcome).toMatchObject({
|
||||
requestedAction: request.action,
|
||||
|
||||
Reference in New Issue
Block a user