@@ -315,7 +315,7 @@ describe('ReactFlight', () => {
315
315
expect ( getDebugInfo ( greeting ) ) . toEqual (
316
316
__DEV__
317
317
? [
318
- { time : 11 } ,
318
+ { time : 12 } ,
319
319
{
320
320
name : 'Greeting' ,
321
321
env : 'Server' ,
@@ -327,7 +327,7 @@ describe('ReactFlight', () => {
327
327
lastName : 'Smith' ,
328
328
} ,
329
329
} ,
330
- { time : 12 } ,
330
+ { time : 13 } ,
331
331
]
332
332
: undefined ,
333
333
) ;
@@ -359,7 +359,7 @@ describe('ReactFlight', () => {
359
359
expect ( getDebugInfo ( promise ) ) . toEqual (
360
360
__DEV__
361
361
? [
362
- { time : 11 } ,
362
+ { time : 12 } ,
363
363
{
364
364
name : 'Greeting' ,
365
365
env : 'Server' ,
@@ -371,7 +371,7 @@ describe('ReactFlight', () => {
371
371
lastName : 'Smith' ,
372
372
} ,
373
373
} ,
374
- { time : 12 } ,
374
+ { time : 13 } ,
375
375
]
376
376
: undefined ,
377
377
) ;
@@ -2807,7 +2807,7 @@ describe('ReactFlight', () => {
2807
2807
expect ( getDebugInfo ( promise ) ) . toEqual (
2808
2808
__DEV__
2809
2809
? [
2810
- { time : 18 } ,
2810
+ { time : 20 } ,
2811
2811
{
2812
2812
name : 'ServerComponent' ,
2813
2813
env : 'Server' ,
@@ -2818,7 +2818,7 @@ describe('ReactFlight', () => {
2818
2818
transport : expect . arrayContaining ( [ ] ) ,
2819
2819
} ,
2820
2820
} ,
2821
- { time : 19 } ,
2821
+ { time : 21 } ,
2822
2822
]
2823
2823
: undefined ,
2824
2824
) ;
@@ -2829,7 +2829,7 @@ describe('ReactFlight', () => {
2829
2829
expect ( getDebugInfo ( thirdPartyChildren [ 0 ] ) ) . toEqual (
2830
2830
__DEV__
2831
2831
? [
2832
- { time : 13 } ,
2832
+ { time : 14 } ,
2833
2833
{
2834
2834
name : 'ThirdPartyComponent' ,
2835
2835
env : 'third-party' ,
@@ -2838,15 +2838,15 @@ describe('ReactFlight', () => {
2838
2838
stack : ' in Object.<anonymous> (at **)' ,
2839
2839
props : { } ,
2840
2840
} ,
2841
- { time : 14 } ,
2842
- { time : 21 } , // This last one is when the promise resolved into the first party.
2841
+ { time : 15 } ,
2842
+ { time : 23 } , // This last one is when the promise resolved into the first party.
2843
2843
]
2844
2844
: undefined ,
2845
2845
) ;
2846
2846
expect ( getDebugInfo ( thirdPartyChildren [ 1 ] ) ) . toEqual (
2847
2847
__DEV__
2848
2848
? [
2849
- { time : 15 } ,
2849
+ { time : 16 } ,
2850
2850
{
2851
2851
name : 'ThirdPartyLazyComponent' ,
2852
2852
env : 'third-party' ,
@@ -2855,14 +2855,14 @@ describe('ReactFlight', () => {
2855
2855
stack : ' in myLazy (at **)\n in lazyInitializer (at **)' ,
2856
2856
props : { } ,
2857
2857
} ,
2858
- { time : 16 } ,
2858
+ { time : 17 } ,
2859
2859
]
2860
2860
: undefined ,
2861
2861
) ;
2862
2862
expect ( getDebugInfo ( thirdPartyChildren [ 2 ] ) ) . toEqual (
2863
2863
__DEV__
2864
2864
? [
2865
- { time : 11 } ,
2865
+ { time : 12 } ,
2866
2866
{
2867
2867
name : 'ThirdPartyFragmentComponent' ,
2868
2868
env : 'third-party' ,
@@ -2871,7 +2871,7 @@ describe('ReactFlight', () => {
2871
2871
stack : ' in Object.<anonymous> (at **)' ,
2872
2872
props : { } ,
2873
2873
} ,
2874
- { time : 12 } ,
2874
+ { time : 13 } ,
2875
2875
]
2876
2876
: undefined ,
2877
2877
) ;
@@ -2936,7 +2936,7 @@ describe('ReactFlight', () => {
2936
2936
expect ( getDebugInfo ( promise ) ) . toEqual (
2937
2937
__DEV__
2938
2938
? [
2939
- { time : 14 } ,
2939
+ { time : 16 } ,
2940
2940
{
2941
2941
name : 'ServerComponent' ,
2942
2942
env : 'Server' ,
@@ -2947,7 +2947,7 @@ describe('ReactFlight', () => {
2947
2947
transport : expect . arrayContaining ( [ ] ) ,
2948
2948
} ,
2949
2949
} ,
2950
- { time : 15 } ,
2950
+ { time : 17 } ,
2951
2951
]
2952
2952
: undefined ,
2953
2953
) ;
@@ -2956,7 +2956,7 @@ describe('ReactFlight', () => {
2956
2956
expect ( getDebugInfo ( thirdPartyFragment ) ) . toEqual (
2957
2957
__DEV__
2958
2958
? [
2959
- { time : 16 } ,
2959
+ { time : 18 } ,
2960
2960
{
2961
2961
name : 'Keyed' ,
2962
2962
env : 'Server' ,
@@ -2967,15 +2967,15 @@ describe('ReactFlight', () => {
2967
2967
children : { } ,
2968
2968
} ,
2969
2969
} ,
2970
- { time : 17 } ,
2970
+ { time : 19 } ,
2971
2971
]
2972
2972
: undefined ,
2973
2973
) ;
2974
2974
// We expect the debug info to be transferred from the inner stream to the outer.
2975
2975
expect ( getDebugInfo ( thirdPartyFragment . props . children ) ) . toEqual (
2976
2976
__DEV__
2977
2977
? [
2978
- { time : 11 } ,
2978
+ { time : 12 } ,
2979
2979
{
2980
2980
name : 'ThirdPartyAsyncIterableComponent' ,
2981
2981
env : 'third-party' ,
@@ -2984,7 +2984,7 @@ describe('ReactFlight', () => {
2984
2984
stack : ' in Object.<anonymous> (at **)' ,
2985
2985
props : { } ,
2986
2986
} ,
2987
- { time : 12 } ,
2987
+ { time : 13 } ,
2988
2988
]
2989
2989
: undefined ,
2990
2990
) ;
@@ -3132,7 +3132,7 @@ describe('ReactFlight', () => {
3132
3132
expect ( getDebugInfo ( greeting ) ) . toEqual (
3133
3133
__DEV__
3134
3134
? [
3135
- { time : 11 } ,
3135
+ { time : 12 } ,
3136
3136
{
3137
3137
name : 'Component' ,
3138
3138
env : 'A' ,
@@ -3144,7 +3144,7 @@ describe('ReactFlight', () => {
3144
3144
{
3145
3145
env : 'B' ,
3146
3146
} ,
3147
- { time : 12 } ,
3147
+ { time : 13 } ,
3148
3148
]
3149
3149
: undefined ,
3150
3150
) ;
@@ -3332,9 +3332,9 @@ describe('ReactFlight', () => {
3332
3332
} ,
3333
3333
} ;
3334
3334
expect ( getDebugInfo ( greeting ) ) . toEqual ( [
3335
- { time : 11 } ,
3336
- greetInfo ,
3337
3335
{ time : 12 } ,
3336
+ greetInfo ,
3337
+ { time : 13 } ,
3338
3338
{
3339
3339
name : 'Container' ,
3340
3340
env : 'Server' ,
@@ -3350,7 +3350,7 @@ describe('ReactFlight', () => {
3350
3350
} ) ,
3351
3351
} ,
3352
3352
} ,
3353
- { time : 13 } ,
3353
+ { time : 14 } ,
3354
3354
] ) ;
3355
3355
// The owner that created the span was the outer server component.
3356
3356
// We expect the debug info to be referentially equal to the owner.
0 commit comments