File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
packages/react-dom/src/__tests__ Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -351,10 +351,12 @@ describe('ReactDOMFizzServer', () => {
351
351
await act ( async ( ) => {
352
352
const { startWriting} = ReactDOMFizzServer . pipeToNodeWritable (
353
353
< Suspense fallback = { < Text text = "Loading A..." /> } >
354
- < Text text = "This will show A: " />
355
- < div >
356
- < AsyncText text = "A" />
357
- </ div >
354
+ < >
355
+ < Text text = "This will show A: " />
356
+ < div >
357
+ < AsyncText text = "A" />
358
+ </ div >
359
+ </ >
358
360
</ Suspense > ,
359
361
writableA ,
360
362
{
@@ -432,11 +434,11 @@ describe('ReactDOMFizzServer', () => {
432
434
}
433
435
434
436
function AsyncPath ( { id} ) {
435
- return < path id = { readText ( id ) } > { [ ] } </ path > ;
437
+ return < path id = { readText ( id ) } / >;
436
438
}
437
439
438
440
function AsyncMi ( { id} ) {
439
- return < mi id = { readText ( id ) } > { [ ] } </ mi > ;
441
+ return < mi id = { readText ( id ) } / >;
440
442
}
441
443
442
444
function App ( ) {
@@ -601,7 +603,7 @@ describe('ReactDOMFizzServer', () => {
601
603
// @gate experimental
602
604
it ( 'can stream into an SVG container' , async ( ) => {
603
605
function AsyncPath ( { id} ) {
604
- return < path id = { readText ( id ) } > { [ ] } </ path > ;
606
+ return < path id = { readText ( id ) } / >;
605
607
}
606
608
607
609
function App ( ) {
You can’t perform that action at this time.
0 commit comments