@@ -103,17 +103,17 @@ describe('DebugTracing', () => {
103
103
) ;
104
104
105
105
expect ( logs ) . toEqual ( [
106
- `group: ⚛️ render (${ SYNC_LANE_STRING } )` ,
107
- 'log: ⚛️ Example suspended' ,
108
- `groupEnd: ⚛️ render (${ SYNC_LANE_STRING } )` ,
106
+ `group: ⚛ render (${ SYNC_LANE_STRING } )` ,
107
+ 'log: ⚛ Example suspended' ,
108
+ `groupEnd: ⚛ render (${ SYNC_LANE_STRING } )` ,
109
109
] ) ;
110
110
111
111
logs . splice ( 0 ) ;
112
112
113
113
resolveFakeSuspensePromise ( ) ;
114
114
await waitForAll ( [ ] ) ;
115
115
116
- expect ( logs ) . toEqual ( [ 'log: ⚛️ Example resolved' ] ) ;
116
+ expect ( logs ) . toEqual ( [ 'log: ⚛ Example resolved' ] ) ;
117
117
} ) ;
118
118
119
119
// @gate experimental && build === 'development' && enableDebugTracing && enableCPUSuspense && !disableLegacyMode
@@ -139,19 +139,19 @@ describe('DebugTracing', () => {
139
139
) ;
140
140
141
141
expect ( logs ) . toEqual ( [
142
- `group: ⚛️ render (${ SYNC_LANE_STRING } )` ,
142
+ `group: ⚛ render (${ SYNC_LANE_STRING } )` ,
143
143
'log: <Wrapper/>' ,
144
- `groupEnd: ⚛️ render (${ SYNC_LANE_STRING } )` ,
144
+ `groupEnd: ⚛ render (${ SYNC_LANE_STRING } )` ,
145
145
] ) ;
146
146
147
147
logs . splice ( 0 ) ;
148
148
149
149
await waitForPaint ( [ ] ) ;
150
150
151
151
expect ( logs ) . toEqual ( [
152
- `group: ⚛️ render (${ RETRY_LANE_STRING } )` ,
152
+ `group: ⚛ render (${ RETRY_LANE_STRING } )` ,
153
153
'log: <Example/>' ,
154
- `groupEnd: ⚛️ render (${ RETRY_LANE_STRING } )` ,
154
+ `groupEnd: ⚛ render (${ RETRY_LANE_STRING } )` ,
155
155
] ) ;
156
156
} ) ;
157
157
@@ -184,15 +184,15 @@ describe('DebugTracing', () => {
184
184
) ;
185
185
186
186
expect ( logs ) . toEqual ( [
187
- `group: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
188
- 'log: ⚛️ Example suspended' ,
189
- `groupEnd: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
187
+ `group: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
188
+ 'log: ⚛ Example suspended' ,
189
+ `groupEnd: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
190
190
] ) ;
191
191
192
192
logs . splice ( 0 ) ;
193
193
194
194
await act ( async ( ) => await resolveFakeSuspensePromise ( ) ) ;
195
- expect ( logs ) . toEqual ( [ 'log: ⚛️ Example resolved' ] ) ;
195
+ expect ( logs ) . toEqual ( [ 'log: ⚛ Example resolved' ] ) ;
196
196
} ) ;
197
197
198
198
// @gate experimental && build === 'development' && enableDebugTracing && enableCPUSuspense
@@ -220,12 +220,12 @@ describe('DebugTracing', () => {
220
220
) ;
221
221
222
222
expect ( logs ) . toEqual ( [
223
- `group: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
223
+ `group: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
224
224
'log: <Wrapper/>' ,
225
- `groupEnd: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
226
- `group: ⚛️ render (${ RETRY_LANE_STRING } )` ,
225
+ `groupEnd: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
226
+ `group: ⚛ render (${ RETRY_LANE_STRING } )` ,
227
227
'log: <Example/>' ,
228
- `groupEnd: ⚛️ render (${ RETRY_LANE_STRING } )` ,
228
+ `groupEnd: ⚛ render (${ RETRY_LANE_STRING } )` ,
229
229
] ) ;
230
230
} ) ;
231
231
@@ -250,11 +250,11 @@ describe('DebugTracing', () => {
250
250
) ;
251
251
252
252
expect ( logs ) . toEqual ( [
253
- `group: ⚛️ commit (${ DEFAULT_LANE_STRING } )` ,
254
- `group: ⚛️ layout effects (${ DEFAULT_LANE_STRING } )` ,
255
- `log: ⚛️ Example updated state (${ SYNC_LANE_STRING } )` ,
256
- `groupEnd: ⚛️ layout effects (${ DEFAULT_LANE_STRING } )` ,
257
- `groupEnd: ⚛️ commit (${ DEFAULT_LANE_STRING } )` ,
253
+ `group: ⚛ commit (${ DEFAULT_LANE_STRING } )` ,
254
+ `group: ⚛ layout effects (${ DEFAULT_LANE_STRING } )` ,
255
+ `log: ⚛ Example updated state (${ SYNC_LANE_STRING } )` ,
256
+ `groupEnd: ⚛ layout effects (${ DEFAULT_LANE_STRING } )` ,
257
+ `groupEnd: ⚛ commit (${ DEFAULT_LANE_STRING } )` ,
258
258
] ) ;
259
259
} ) ;
260
260
@@ -283,9 +283,9 @@ describe('DebugTracing', () => {
283
283
) ;
284
284
285
285
expect ( logs ) . toEqual ( [
286
- `group: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
287
- `log: ⚛️ Example updated state (${ DEFAULT_LANE_STRING } )` ,
288
- `groupEnd: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
286
+ `group: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
287
+ `log: ⚛ Example updated state (${ DEFAULT_LANE_STRING } )` ,
288
+ `groupEnd: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
289
289
] ) ;
290
290
} ) ;
291
291
@@ -308,11 +308,11 @@ describe('DebugTracing', () => {
308
308
) ;
309
309
310
310
expect ( logs ) . toEqual ( [
311
- `group: ⚛️ commit (${ DEFAULT_LANE_STRING } )` ,
312
- `group: ⚛️ layout effects (${ DEFAULT_LANE_STRING } )` ,
313
- `log: ⚛️ Example updated state (${ SYNC_LANE_STRING } )` ,
314
- `groupEnd: ⚛️ layout effects (${ DEFAULT_LANE_STRING } )` ,
315
- `groupEnd: ⚛️ commit (${ DEFAULT_LANE_STRING } )` ,
311
+ `group: ⚛ commit (${ DEFAULT_LANE_STRING } )` ,
312
+ `group: ⚛ layout effects (${ DEFAULT_LANE_STRING } )` ,
313
+ `log: ⚛ Example updated state (${ SYNC_LANE_STRING } )` ,
314
+ `groupEnd: ⚛ layout effects (${ DEFAULT_LANE_STRING } )` ,
315
+ `groupEnd: ⚛ commit (${ DEFAULT_LANE_STRING } )` ,
316
316
] ) ;
317
317
} ) ;
318
318
@@ -334,9 +334,9 @@ describe('DebugTracing', () => {
334
334
) ;
335
335
} ) ;
336
336
expect ( logs ) . toEqual ( [
337
- `group: ⚛️ passive effects (${ DEFAULT_LANE_STRING } )` ,
338
- `log: ⚛️ Example updated state (${ DEFAULT_LANE_STRING } )` ,
339
- `groupEnd: ⚛️ passive effects (${ DEFAULT_LANE_STRING } )` ,
337
+ `group: ⚛ passive effects (${ DEFAULT_LANE_STRING } )` ,
338
+ `log: ⚛ Example updated state (${ DEFAULT_LANE_STRING } )` ,
339
+ `groupEnd: ⚛ passive effects (${ DEFAULT_LANE_STRING } )` ,
340
340
] ) ;
341
341
} ) ;
342
342
@@ -359,9 +359,9 @@ describe('DebugTracing', () => {
359
359
} ) ;
360
360
361
361
expect ( logs ) . toEqual ( [
362
- `group: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
363
- `log: ⚛️ Example updated state (${ DEFAULT_LANE_STRING } )` ,
364
- `groupEnd: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
362
+ `group: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
363
+ `log: ⚛ Example updated state (${ DEFAULT_LANE_STRING } )` ,
364
+ `groupEnd: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
365
365
] ) ;
366
366
} ) ;
367
367
@@ -381,9 +381,9 @@ describe('DebugTracing', () => {
381
381
) ;
382
382
383
383
expect ( logs ) . toEqual ( [
384
- `group: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
384
+ `group: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
385
385
'log: Hello from user code' ,
386
- `groupEnd: ⚛️ render (${ DEFAULT_LANE_STRING } )` ,
386
+ `groupEnd: ⚛ render (${ DEFAULT_LANE_STRING } )` ,
387
387
] ) ;
388
388
} ) ;
389
389
0 commit comments