test: align release gates with canonical campaign saves

This commit is contained in:
2026-07-28 17:46:53 +09:00
parent 8a6c8c2cd7
commit 8cd7dd7eec
4 changed files with 11 additions and 6 deletions

View File

@@ -169,7 +169,7 @@ assert(
'Both victory result routes must clear their persisted aftermath marker only when CampScene is reached'
);
assert(
campaignStateSource.includes('state.pendingAftermathBattleId = battleId as BattleScenarioId') &&
/state\.pendingAftermathBattleId\s*=\s*battleId as BattleScenarioId/.test(campaignStateSource) &&
campaignStateSource.includes('export function completeCampaignAftermath'),
'Campaign saves must persist a pending victory aftermath and expose an explicit completion transition'
);