@@ -227,6 +227,7 @@ describe('Store', () => {
227
227
228
228
// @reactVersion >= 18.0
229
229
// @reactVersion < 19
230
+ // @gate !disableLegacyMode
230
231
it ( 'should support mount and update operations for multiple roots (legacy render)' , ( ) => {
231
232
const Parent = ( { count} ) =>
232
233
new Array ( count ) . fill ( true ) . map ( ( _ , index ) => < Child key = { index } /> ) ;
@@ -941,6 +942,7 @@ describe('Store', () => {
941
942
942
943
// @reactVersion >= 18.0
943
944
// @reactVersion < 19
945
+ // @gate !disableLegacyMode
944
946
it ( 'should support mount and update operations for multiple roots (legacy render)' , ( ) => {
945
947
const Parent = ( { count} ) =>
946
948
new Array ( count ) . fill ( true ) . map ( ( _ , index ) => < Child key = { index } /> ) ;
@@ -1469,6 +1471,7 @@ describe('Store', () => {
1469
1471
1470
1472
// @reactVersion >= 18.0
1471
1473
// @reactVersion < 19
1474
+ // @gate !disableLegacyMode
1472
1475
it ( 'detects and updates profiling support based on the attached roots (legacy render)' , ( ) => {
1473
1476
const Component = ( ) => null ;
1474
1477
@@ -1632,6 +1635,7 @@ describe('Store', () => {
1632
1635
1633
1636
// @reactVersion >= 18.0
1634
1637
// @reactVersion < 19
1638
+ // @gate !disableLegacyMode
1635
1639
it ( 'should support Lazy components (legacy render)' , async ( ) => {
1636
1640
const container = document . createElement ( 'div' ) ;
1637
1641
@@ -1702,6 +1706,7 @@ describe('Store', () => {
1702
1706
1703
1707
// @reactVersion >= 18.0
1704
1708
// @reactVersion < 19
1709
+ // @gate !disableLegacyMode
1705
1710
it ( 'should support Lazy components that are unmounted before they finish loading (legacy render)' , async ( ) => {
1706
1711
const container = document . createElement ( 'div' ) ;
1707
1712
0 commit comments