Skip to content

Commit d5d6590

Browse files
author
Brian Vaughn
committed
Updated DevTools test snapshots
1 parent 2562e75 commit d5d6590

File tree

3 files changed

+66
-6
lines changed

3 files changed

+66
-6
lines changed

packages/react-devtools-shared/src/__tests__/__snapshots__/profilingCache-test.js.snap

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,6 +1344,7 @@ Object {
13441344
2,
13451345
],
13461346
"displayName": null,
1347+
"hocDisplayNames": null,
13471348
"id": 1,
13481349
"key": null,
13491350
"type": 11,
@@ -1355,27 +1356,33 @@ Object {
13551356
5,
13561357
],
13571358
"displayName": "Parent",
1359+
"hocDisplayNames": null,
13581360
"id": 2,
13591361
"key": null,
13601362
"type": 5,
13611363
},
13621364
3 => Object {
13631365
"children": Array [],
13641366
"displayName": "Child",
1367+
"hocDisplayNames": null,
13651368
"id": 3,
13661369
"key": "0",
13671370
"type": 5,
13681371
},
13691372
4 => Object {
13701373
"children": Array [],
13711374
"displayName": "Child",
1375+
"hocDisplayNames": null,
13721376
"id": 4,
13731377
"key": "1",
13741378
"type": 5,
13751379
},
13761380
5 => Object {
13771381
"children": Array [],
13781382
"displayName": "Child",
1383+
"hocDisplayNames": Array [
1384+
"Memo",
1385+
],
13791386
"id": 5,
13801387
"key": null,
13811388
"type": 8,
@@ -1540,6 +1547,7 @@ Object {
15401547
7,
15411548
],
15421549
"displayName": null,
1550+
"hocDisplayNames": null,
15431551
"id": 6,
15441552
"key": null,
15451553
"type": 11,
@@ -1550,20 +1558,25 @@ Object {
15501558
9,
15511559
],
15521560
"displayName": "Parent",
1561+
"hocDisplayNames": null,
15531562
"id": 7,
15541563
"key": null,
15551564
"type": 5,
15561565
},
15571566
8 => Object {
15581567
"children": Array [],
15591568
"displayName": "Child",
1569+
"hocDisplayNames": null,
15601570
"id": 8,
15611571
"key": "0",
15621572
"type": 5,
15631573
},
15641574
9 => Object {
15651575
"children": Array [],
15661576
"displayName": "Child",
1577+
"hocDisplayNames": Array [
1578+
"Memo",
1579+
],
15671580
"id": 9,
15681581
"key": null,
15691582
"type": 8,
@@ -1870,6 +1883,7 @@ Object {
18701883
2,
18711884
],
18721885
"displayName": null,
1886+
"hocDisplayNames": null,
18731887
"id": 1,
18741888
"key": null,
18751889
"type": 11,
@@ -1884,6 +1898,7 @@ Object {
18841898
5,
18851899
],
18861900
"displayName": "Parent",
1901+
"hocDisplayNames": null,
18871902
"id": 2,
18881903
"key": null,
18891904
"type": 5,
@@ -1894,6 +1909,7 @@ Object {
18941909
Object {
18951910
"children": Array [],
18961911
"displayName": "Child",
1912+
"hocDisplayNames": null,
18971913
"id": 3,
18981914
"key": "0",
18991915
"type": 5,
@@ -1904,6 +1920,7 @@ Object {
19041920
Object {
19051921
"children": Array [],
19061922
"displayName": "Child",
1923+
"hocDisplayNames": null,
19071924
"id": 4,
19081925
"key": "1",
19091926
"type": 5,
@@ -1914,6 +1931,9 @@ Object {
19141931
Object {
19151932
"children": Array [],
19161933
"displayName": "Child",
1934+
"hocDisplayNames": Array [
1935+
"Memo",
1936+
],
19171937
"id": 5,
19181938
"key": null,
19191939
"type": 8,
@@ -2120,6 +2140,7 @@ Object {
21202140
7,
21212141
],
21222142
"displayName": null,
2143+
"hocDisplayNames": null,
21232144
"id": 6,
21242145
"key": null,
21252146
"type": 11,
@@ -2133,6 +2154,7 @@ Object {
21332154
9,
21342155
],
21352156
"displayName": "Parent",
2157+
"hocDisplayNames": null,
21362158
"id": 7,
21372159
"key": null,
21382160
"type": 5,
@@ -2143,6 +2165,7 @@ Object {
21432165
Object {
21442166
"children": Array [],
21452167
"displayName": "Child",
2168+
"hocDisplayNames": null,
21462169
"id": 8,
21472170
"key": "0",
21482171
"type": 5,
@@ -2153,6 +2176,9 @@ Object {
21532176
Object {
21542177
"children": Array [],
21552178
"displayName": "Child",
2179+
"hocDisplayNames": Array [
2180+
"Memo",
2181+
],
21562182
"id": 9,
21572183
"key": null,
21582184
"type": 8,

packages/react-devtools-shared/src/__tests__/__snapshots__/profilingCharts-test.js.snap

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Object {
88
2,
99
],
1010
"displayName": null,
11+
"hocDisplayNames": null,
1112
"id": 1,
1213
"key": null,
1314
"parentID": 0,
@@ -21,6 +22,7 @@ Object {
2122
5,
2223
],
2324
"displayName": "Parent",
25+
"hocDisplayNames": null,
2426
"id": 2,
2527
"key": null,
2628
"parentID": 1,
@@ -30,6 +32,7 @@ Object {
3032
3 => Object {
3133
"children": Array [],
3234
"displayName": "Child",
35+
"hocDisplayNames": null,
3336
"id": 3,
3437
"key": "first",
3538
"parentID": 2,
@@ -39,6 +42,7 @@ Object {
3942
4 => Object {
4043
"children": Array [],
4144
"displayName": "Child",
45+
"hocDisplayNames": null,
4246
"id": 4,
4347
"key": "second",
4448
"parentID": 2,
@@ -48,6 +52,7 @@ Object {
4852
5 => Object {
4953
"children": Array [],
5054
"displayName": "Child",
55+
"hocDisplayNames": null,
5156
"id": 5,
5257
"key": "third",
5358
"parentID": 2,
@@ -92,7 +97,7 @@ Object {
9297
"actualDuration": 0,
9398
"didRender": true,
9499
"id": 5,
95-
"label": "Child (Memo) key=\\"third\\" (<0.1ms of <0.1ms)",
100+
"label": "Child key=\\"third\\" (<0.1ms of <0.1ms)",
96101
"name": "Child",
97102
"offset": 15,
98103
"selfDuration": 0,
@@ -102,7 +107,7 @@ Object {
102107
"actualDuration": 2,
103108
"didRender": true,
104109
"id": 4,
105-
"label": "Child (Memo) key=\\"second\\" (2ms of 2ms)",
110+
"label": "Child key=\\"second\\" (2ms of 2ms)",
106111
"name": "Child",
107112
"offset": 13,
108113
"selfDuration": 2,
@@ -112,7 +117,7 @@ Object {
112117
"actualDuration": 3,
113118
"didRender": true,
114119
"id": 3,
115-
"label": "Child (Memo) key=\\"first\\" (3ms of 3ms)",
120+
"label": "Child key=\\"first\\" (3ms of 3ms)",
116121
"name": "Child",
117122
"offset": 10,
118123
"selfDuration": 3,
@@ -131,6 +136,7 @@ Object {
131136
2,
132137
],
133138
"displayName": null,
139+
"hocDisplayNames": null,
134140
"id": 1,
135141
"key": null,
136142
"parentID": 0,
@@ -144,6 +150,7 @@ Object {
144150
5,
145151
],
146152
"displayName": "Parent",
153+
"hocDisplayNames": null,
147154
"id": 2,
148155
"key": null,
149156
"parentID": 1,
@@ -153,6 +160,7 @@ Object {
153160
3 => Object {
154161
"children": Array [],
155162
"displayName": "Child",
163+
"hocDisplayNames": null,
156164
"id": 3,
157165
"key": "first",
158166
"parentID": 2,
@@ -162,6 +170,7 @@ Object {
162170
4 => Object {
163171
"children": Array [],
164172
"displayName": "Child",
173+
"hocDisplayNames": null,
165174
"id": 4,
166175
"key": "second",
167176
"parentID": 2,
@@ -171,6 +180,7 @@ Object {
171180
5 => Object {
172181
"children": Array [],
173182
"displayName": "Child",
183+
"hocDisplayNames": null,
174184
"id": 5,
175185
"key": "third",
176186
"parentID": 2,
@@ -214,7 +224,7 @@ Object {
214224
"actualDuration": 0,
215225
"didRender": false,
216226
"id": 5,
217-
"label": "Child (Memo) key=\\"third\\"",
227+
"label": "Child key=\\"third\\"",
218228
"name": "Child",
219229
"offset": 15,
220230
"selfDuration": 0,
@@ -224,7 +234,7 @@ Object {
224234
"actualDuration": 0,
225235
"didRender": false,
226236
"id": 4,
227-
"label": "Child (Memo) key=\\"second\\"",
237+
"label": "Child key=\\"second\\"",
228238
"name": "Child",
229239
"offset": 13,
230240
"selfDuration": 0,
@@ -234,7 +244,7 @@ Object {
234244
"actualDuration": 0,
235245
"didRender": false,
236246
"id": 3,
237-
"label": "Child (Memo) key=\\"first\\"",
247+
"label": "Child key=\\"first\\"",
238248
"name": "Child",
239249
"offset": 10,
240250
"selfDuration": 0,
@@ -295,6 +305,7 @@ Object {
295305
2,
296306
],
297307
"displayName": null,
308+
"hocDisplayNames": null,
298309
"id": 1,
299310
"key": null,
300311
"parentID": 0,
@@ -308,6 +319,7 @@ Object {
308319
5,
309320
],
310321
"displayName": "Parent",
322+
"hocDisplayNames": null,
311323
"id": 2,
312324
"key": null,
313325
"parentID": 1,
@@ -317,6 +329,7 @@ Object {
317329
3 => Object {
318330
"children": Array [],
319331
"displayName": "Child",
332+
"hocDisplayNames": null,
320333
"id": 3,
321334
"key": "first",
322335
"parentID": 2,
@@ -326,6 +339,7 @@ Object {
326339
4 => Object {
327340
"children": Array [],
328341
"displayName": "Child",
342+
"hocDisplayNames": null,
329343
"id": 4,
330344
"key": "second",
331345
"parentID": 2,
@@ -335,6 +349,7 @@ Object {
335349
5 => Object {
336350
"children": Array [],
337351
"displayName": "Child",
352+
"hocDisplayNames": null,
338353
"id": 5,
339354
"key": "third",
340355
"parentID": 2,
@@ -386,6 +401,7 @@ Object {
386401
2,
387402
],
388403
"displayName": null,
404+
"hocDisplayNames": null,
389405
"id": 1,
390406
"key": null,
391407
"parentID": 0,
@@ -399,6 +415,7 @@ Object {
399415
5,
400416
],
401417
"displayName": "Parent",
418+
"hocDisplayNames": null,
402419
"id": 2,
403420
"key": null,
404421
"parentID": 1,
@@ -408,6 +425,7 @@ Object {
408425
3 => Object {
409426
"children": Array [],
410427
"displayName": "Child",
428+
"hocDisplayNames": null,
411429
"id": 3,
412430
"key": "first",
413431
"parentID": 2,
@@ -417,6 +435,7 @@ Object {
417435
4 => Object {
418436
"children": Array [],
419437
"displayName": "Child",
438+
"hocDisplayNames": null,
420439
"id": 4,
421440
"key": "second",
422441
"parentID": 2,
@@ -426,6 +445,7 @@ Object {
426445
5 => Object {
427446
"children": Array [],
428447
"displayName": "Child",
448+
"hocDisplayNames": null,
429449
"id": 5,
430450
"key": "third",
431451
"parentID": 2,

0 commit comments

Comments
 (0)