@@ -21,6 +21,10 @@ describe('OptionsListUtils', () => {
21
21
reportID : '1' ,
22
22
participantAccountIDs : [ 2 , 1 ] ,
23
23
visibleChatMemberAccountIDs : [ 2 , 1 ] ,
24
+ participants : {
25
+ 2 : { } ,
26
+ 1 : { } ,
27
+ } ,
24
28
reportName : 'Iron Man, Mister Fantastic' ,
25
29
type : CONST . REPORT . TYPE . CHAT ,
26
30
} ,
@@ -31,6 +35,9 @@ describe('OptionsListUtils', () => {
31
35
reportID : '2' ,
32
36
participantAccountIDs : [ 3 ] ,
33
37
visibleChatMemberAccountIDs : [ 3 ] ,
38
+ participants : {
39
+ 3 : { } ,
40
+ } ,
34
41
reportName : 'Spider-Man' ,
35
42
type : CONST . REPORT . TYPE . CHAT ,
36
43
} ,
@@ -43,6 +50,9 @@ describe('OptionsListUtils', () => {
43
50
reportID : '3' ,
44
51
participantAccountIDs : [ 1 ] ,
45
52
visibleChatMemberAccountIDs : [ 1 ] ,
53
+ participants : {
54
+ 1 : { } ,
55
+ } ,
46
56
reportName : 'Mister Fantastic' ,
47
57
type : CONST . REPORT . TYPE . CHAT ,
48
58
} ,
@@ -53,6 +63,9 @@ describe('OptionsListUtils', () => {
53
63
reportID : '4' ,
54
64
participantAccountIDs : [ 4 ] ,
55
65
visibleChatMemberAccountIDs : [ 4 ] ,
66
+ participants : {
67
+ 4 : { } ,
68
+ } ,
56
69
reportName : 'Black Panther' ,
57
70
type : CONST . REPORT . TYPE . CHAT ,
58
71
} ,
@@ -63,6 +76,9 @@ describe('OptionsListUtils', () => {
63
76
reportID : '5' ,
64
77
participantAccountIDs : [ 5 ] ,
65
78
visibleChatMemberAccountIDs : [ 5 ] ,
79
+ participants : {
80
+ 5 : { } ,
81
+ } ,
66
82
reportName : 'Invisible Woman' ,
67
83
type : CONST . REPORT . TYPE . CHAT ,
68
84
} ,
@@ -73,6 +89,9 @@ describe('OptionsListUtils', () => {
73
89
reportID : '6' ,
74
90
participantAccountIDs : [ 6 ] ,
75
91
visibleChatMemberAccountIDs : [ 6 ] ,
92
+ participants : {
93
+ 6 : { } ,
94
+ } ,
76
95
reportName : 'Thor' ,
77
96
type : CONST . REPORT . TYPE . CHAT ,
78
97
} ,
@@ -85,6 +104,9 @@ describe('OptionsListUtils', () => {
85
104
reportID : '7' ,
86
105
participantAccountIDs : [ 7 ] ,
87
106
visibleChatMemberAccountIDs : [ 7 ] ,
107
+ participants : {
108
+ 7 : { } ,
109
+ } ,
88
110
reportName : 'Captain America' ,
89
111
type : CONST . REPORT . TYPE . CHAT ,
90
112
} ,
@@ -97,6 +119,9 @@ describe('OptionsListUtils', () => {
97
119
reportID : '8' ,
98
120
participantAccountIDs : [ 12 ] ,
99
121
visibleChatMemberAccountIDs : [ 12 ] ,
122
+ participants : {
123
+ 12 : { } ,
124
+ } ,
100
125
reportName : 'Silver Surfer' ,
101
126
type : CONST . REPORT . TYPE . CHAT ,
102
127
} ,
@@ -109,6 +134,9 @@ describe('OptionsListUtils', () => {
109
134
reportID : '9' ,
110
135
participantAccountIDs : [ 8 ] ,
111
136
visibleChatMemberAccountIDs : [ 8 ] ,
137
+ participants : {
138
+ 8 : { } ,
139
+ } ,
112
140
reportName : 'Mister Sinister' ,
113
141
iouReportID : '100' ,
114
142
type : CONST . REPORT . TYPE . CHAT ,
@@ -122,6 +150,10 @@ describe('OptionsListUtils', () => {
122
150
isPinned : false ,
123
151
participantAccountIDs : [ 2 , 7 ] ,
124
152
visibleChatMemberAccountIDs : [ 2 , 7 ] ,
153
+ participants : {
154
+ 2 : { } ,
155
+ 7 : { } ,
156
+ } ,
125
157
reportName : '' ,
126
158
oldPolicyName : "SHIELD's workspace" ,
127
159
chatType : CONST . REPORT . CHAT_TYPE . POLICY_EXPENSE_CHAT ,
@@ -212,6 +244,9 @@ describe('OptionsListUtils', () => {
212
244
reportID : '11' ,
213
245
participantAccountIDs : [ 999 ] ,
214
246
visibleChatMemberAccountIDs : [ 999 ] ,
247
+ participants : {
248
+ 999 : { } ,
249
+ } ,
215
250
reportName : 'Concierge' ,
216
251
type : CONST . REPORT . TYPE . CHAT ,
217
252
} ,
@@ -226,6 +261,9 @@ describe('OptionsListUtils', () => {
226
261
reportID : '12' ,
227
262
participantAccountIDs : [ 1000 ] ,
228
263
visibleChatMemberAccountIDs : [ 1000 ] ,
264
+ participants : {
265
+ 1000 : { } ,
266
+ } ,
229
267
reportName : 'Chronos' ,
230
268
type : CONST . REPORT . TYPE . CHAT ,
231
269
} ,
@@ -240,6 +278,9 @@ describe('OptionsListUtils', () => {
240
278
reportID : '13' ,
241
279
participantAccountIDs : [ 1001 ] ,
242
280
visibleChatMemberAccountIDs : [ 1001 ] ,
281
+ participants : {
282
+ 1001 : { } ,
283
+ } ,
243
284
reportName : 'Receipts' ,
244
285
type : CONST . REPORT . TYPE . CHAT ,
245
286
} ,
@@ -254,6 +295,11 @@ describe('OptionsListUtils', () => {
254
295
reportID : '14' ,
255
296
participantAccountIDs : [ 1 , 10 , 3 ] ,
256
297
visibleChatMemberAccountIDs : [ 1 , 10 , 3 ] ,
298
+ participants : {
299
+ 1 : { } ,
300
+ 10 : { } ,
301
+ 3 : { } ,
302
+ } ,
257
303
reportName : '' ,
258
304
oldPolicyName : 'Avengers Room' ,
259
305
chatType : CONST . REPORT . CHAT_TYPE . POLICY_ADMINS ,
@@ -271,6 +317,10 @@ describe('OptionsListUtils', () => {
271
317
reportID : '15' ,
272
318
participantAccountIDs : [ 3 , 4 ] ,
273
319
visibleChatMemberAccountIDs : [ 3 , 4 ] ,
320
+ participants : {
321
+ 3 : { } ,
322
+ 4 : { } ,
323
+ } ,
274
324
reportName : 'Spider-Man, Black Panther' ,
275
325
type : CONST . REPORT . TYPE . CHAT ,
276
326
chatType : CONST . REPORT . CHAT_TYPE . DOMAIN_ALL ,
0 commit comments