@@ -2254,7 +2254,6 @@ describe('ReactHooksWithNoopRenderer', () => {
22542254 } ;
22552255 } ) ;
22562256
2257- // @gate skipUnmountedBoundaries
22582257 it ( 'should use the nearest still-mounted boundary if there are no unmounted boundaries' , async ( ) => {
22592258 await act ( ( ) => {
22602259 ReactNoop . render (
@@ -2280,7 +2279,6 @@ describe('ReactHooksWithNoopRenderer', () => {
22802279 ] ) ;
22812280 } ) ;
22822281
2283- // @gate skipUnmountedBoundaries
22842282 it ( 'should skip unmounted boundaries and use the nearest still-mounted boundary' , async ( ) => {
22852283 function Conditional ( { showChildren} ) {
22862284 if ( showChildren ) {
@@ -2323,7 +2321,6 @@ describe('ReactHooksWithNoopRenderer', () => {
23232321 ] ) ;
23242322 } ) ;
23252323
2326- // @gate skipUnmountedBoundaries
23272324 it ( 'should call getDerivedStateFromError in the nearest still-mounted boundary' , async ( ) => {
23282325 function Conditional ( { showChildren} ) {
23292326 if ( showChildren ) {
@@ -2367,7 +2364,6 @@ describe('ReactHooksWithNoopRenderer', () => {
23672364 ) ;
23682365 } ) ;
23692366
2370- // @gate skipUnmountedBoundaries
23712367 it ( 'should rethrow error if there are no still-mounted boundaries' , async ( ) => {
23722368 function Conditional ( { showChildren} ) {
23732369 if ( showChildren ) {
@@ -2531,10 +2527,6 @@ describe('ReactHooksWithNoopRenderer', () => {
25312527 assertLog ( [ 'layout destroy' , 'passive destroy' ] ) ;
25322528 } ) ;
25332529
2534- // TODO: This test fails when skipUnmountedBoundaries is disabled. However,
2535- // it's also rolled out to open source already and partially to www. So
2536- // we should probably just land it.
2537- // @gate skipUnmountedBoundaries
25382530 it ( 'assumes passive effect destroy function is either a function or undefined' , async ( ) => {
25392531 function App ( props ) {
25402532 useEffect ( ( ) => {
@@ -3117,7 +3109,6 @@ describe('ReactHooksWithNoopRenderer', () => {
31173109 assertLog ( [ 'Unmount normal [current: 1]' , 'Mount normal [current: 1]' ] ) ;
31183110 } ) ;
31193111
3120- // @gate skipUnmountedBoundaries
31213112 it ( 'catches errors thrown in useLayoutEffect' , async ( ) => {
31223113 class ErrorBoundary extends React . Component {
31233114 state = { error : null } ;
0 commit comments