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', () => {
351351 await act ( async ( ) => {
352352 const { startWriting} = ReactDOMFizzServer . pipeToNodeWritable (
353353 < 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+ </ >
358360 </ Suspense > ,
359361 writableA ,
360362 {
@@ -432,11 +434,11 @@ describe('ReactDOMFizzServer', () => {
432434 }
433435
434436 function AsyncPath ( { id} ) {
435- return < path id = { readText ( id ) } > { [ ] } </ path > ;
437+ return < path id = { readText ( id ) } / >;
436438 }
437439
438440 function AsyncMi ( { id} ) {
439- return < mi id = { readText ( id ) } > { [ ] } </ mi > ;
441+ return < mi id = { readText ( id ) } / >;
440442 }
441443
442444 function App ( ) {
@@ -601,7 +603,7 @@ describe('ReactDOMFizzServer', () => {
601603 // @gate experimental
602604 it ( 'can stream into an SVG container' , async ( ) => {
603605 function AsyncPath ( { id} ) {
604- return < path id = { readText ( id ) } > { [ ] } </ path > ;
606+ return < path id = { readText ( id ) } / >;
605607 }
606608
607609 function App ( ) {
You can’t perform that action at this time.
0 commit comments