feat: refine match game detail ux

This commit is contained in:
dahyeon committed 2026-06-20 01:04:03 -07:00
1 parent 747adfcb11
commit 0434a5db66
9 files changed
+156 -206

No files matched your search

@@ -33,6 +33,7 @@ function record(matchId: mongoose.Types.ObjectId): InternalRecord {
gameDuration: 1_800,
userId: new mongoose.Types.ObjectId().toString(),
summonerName: 'Player',
tagLine: 'KR1',
profileIconId: 1,
teamIndex: 1,
side: 'blue',
@@ -186,7 +187,7 @@ describe('CommunityStatsService', () => {
});
expect(matchStatsService.buildAndUpsert).not.toHaveBeenCalled();
expect(cacheService.setDetail).toHaveBeenCalledWith(
expect.stringContaining(':r2:'),
expect.stringContaining(':r3:'),
response,
);
});