Skip to content

Commit 0c4d376

Browse files
committed
Adjusted hard-coded data used by the Action Container test to include the new shape of the data that Reactime now uses.
1 parent 61bd748 commit 0c4d376

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/app/__tests__/ActionContainer.test.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ const state = {
2626
name: 'App',
2727
componentData: { actualDuration: 3.5 },
2828
}],
29+
route: {
30+
id: 1,
31+
url: 'http://localhost:8080/',
32+
},
2933
},
3034
children: [{
3135
index: 1,
@@ -38,6 +42,10 @@ const state = {
3842
name: 'App',
3943
componentData: { actualDuration: 3.5 },
4044
}],
45+
route: {
46+
id: 2,
47+
url: 'http://localhost:8080/',
48+
},
4149
},
4250
children: [{
4351
index: 2,
@@ -50,6 +58,10 @@ const state = {
5058
name: 'App',
5159
componentData: { actualDuration: 3.5 },
5260
}],
61+
route: {
62+
id: 3,
63+
url: 'http://localhost:8080/',
64+
},
5365
},
5466
children: [{
5567
index: 3,
@@ -62,6 +74,10 @@ const state = {
6274
name: 'App',
6375
componentData: { actualDuration: 3.5 },
6476
}],
77+
route: {
78+
id: 4,
79+
url: 'http://localhost:8080/',
80+
},
6581
},
6682
children: [],
6783
}],

0 commit comments

Comments
 (0)