feat: 명예의 전당에 유산 획득량을 추가
명장 일람과 같은 inherit_earned 기록을 은퇴와 통일 정산에서 Hall에 보존하고 기수별 순위로 표시한다. API, 저장 경로와 실제 Chromium 회귀 검사를 함께 보강한다.
This commit is contained in:
@@ -214,6 +214,7 @@ describe('persistUnificationFinalization', () => {
|
||||
{ generalId: 1, type: 'firenum', value: 4 },
|
||||
{ generalId: 1, type: 'killcrew', value: 1_200 },
|
||||
{ generalId: 1, type: 'deathcrew', value: 800 },
|
||||
{ generalId: 1, type: 'inherit_earned', value: 4_321 },
|
||||
{ generalId: 1, type: 'ttw', value: 3 },
|
||||
{ generalId: 1, type: 'ttd', value: 2 },
|
||||
{ generalId: 1, type: 'ttl', value: 1 },
|
||||
@@ -268,6 +269,11 @@ describe('persistUnificationFinalization', () => {
|
||||
}),
|
||||
})
|
||||
);
|
||||
expect(hallCreate).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
data: expect.objectContaining({ type: 'inherit_earned', value: 4_321 }),
|
||||
})
|
||||
);
|
||||
expect(gameHistoryUpdate).toHaveBeenCalledWith(
|
||||
expect.objectContaining({ data: expect.objectContaining({ winnerNation: 1 }) })
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user