Add timeline roam frames

This commit is contained in:
dahyeon committed 2026-07-02 23:50:10 -07:00
1 parent df0e43d884
commit d4e7cb6e8b
4 files changed
+296

No files matched your search

@@ -33,6 +33,7 @@ function createMatchPayload(matchId = 'KR_1') {
queueId: 420,
participants: [
{
participantId: 1,
puuid: 'target-puuid',
teamId: 100,
teamPosition: 'MIDDLE',
@@ -60,6 +61,7 @@ function createMatchPayload(matchId = 'KR_1') {
},
},
{
participantId: 2,
puuid: 'ally-puuid',
teamId: 100,
teamPosition: 'JUNGLE',
@@ -428,6 +430,13 @@ describe('AnalysisPipelineService', () => {
'7': { position: { x: 14_000, y: 6_000 } },
},
},
{
timestamp: 8 * 60_000,
participantFrames: {
'1': { position: { x: 8_000, y: 7_000 } },
'2': { position: { x: 8_000, y: 7_000 } },
},
},
{
timestamp: 900_000,
events: [
@@ -503,6 +512,17 @@ describe('AnalysisPipelineService', () => {
monsterType: 'DRAGON',
},
],
roamFrames: [
{
t: 8 * 60_000,
participantId: 1,
teamId: 100,
x: 8_000,
y: 7_000,
zone: 'river',
assignedLaneZone: 'middleLane',
},
],
});
});