File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/react-dom/src/__tests__ Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -867,6 +867,7 @@ describe('ReactDOMFloat', () => {
867867 } ) ;
868868
869869 describe ( 'head resources' , ( ) => {
870+ // @gate enableFloat
870871 it ( 'can rendering title tags anywhere in the tree' , async ( ) => {
871872 await actIntoEmptyDocument ( ( ) => {
872873 const { pipe} = ReactDOMFizzServer . renderToPipeableStream (
@@ -941,6 +942,7 @@ describe('ReactDOMFloat', () => {
941942 ) ;
942943 } ) ;
943944
945+ // @gate enableFloat
944946 it ( 'prepends new titles on the client so newer ones override older ones, including orphaned server rendered titles' , async ( ) => {
945947 await actIntoEmptyDocument ( ( ) => {
946948 const { pipe} = ReactDOMFizzServer . renderToPipeableStream (
@@ -996,6 +998,7 @@ describe('ReactDOMFloat', () => {
996998 ) ;
997999 } ) ;
9981000
1001+ // @gate enableFloat
9991002 it ( 'keys titles on text children and only removes them when no more instances refer to that title' , async ( ) => {
10001003 const root = ReactDOMClient . createRoot ( container ) ;
10011004 root . render (
@@ -1053,6 +1056,7 @@ describe('ReactDOMFloat', () => {
10531056 ) ;
10541057 } ) ;
10551058
1059+ // @gate enableFloat
10561060 it ( 'can render a title before a singleton even if that singleton clears its contents' , async ( ) => {
10571061 await actIntoEmptyDocument ( ( ) => {
10581062 const { pipe} = ReactDOMFizzServer . renderToPipeableStream (
You can’t perform that action at this time.
0 commit comments