@@ -1867,7 +1867,8 @@ describe('ReactSuspenseWithNoopRenderer', () => {
18671867    expect ( ReactNoop . getChildren ( ) ) . toEqual ( [ span ( 'Loading...' ) ] ) ; 
18681868  } ) ; 
18691869
1870-   it ( 'warns when a low priority update suspends inside a high priority update for functional components' ,  async  ( )  =>  { 
1870+   // TODO: flip to "warns" when this is implemented again. 
1871+   it ( 'does not warn when a low priority update suspends inside a high priority update for functional components' ,  async  ( )  =>  { 
18711872    let  _setShow ; 
18721873    function  App ( )  { 
18731874      let  [ show ,  setShow ]  =  React . useState ( false ) ; 
@@ -1883,20 +1884,17 @@ describe('ReactSuspenseWithNoopRenderer', () => {
18831884      ReactNoop . render ( < App  /> ) ; 
18841885    } ) ; 
18851886
1886-     expect ( ( )  =>  { 
1887-       ReactNoop . act ( ( )  =>  { 
1888-         Scheduler . unstable_runWithPriority ( 
1889-           Scheduler . unstable_UserBlockingPriority , 
1890-           ( )  =>  _setShow ( true ) , 
1891-         ) ; 
1892-       } ) ; 
1893-     } ) . toErrorDev ( 
1894-       'Warning: App triggered a user-blocking update that suspended.'  +  '\n\n' , 
1895-       { withoutStack : true } , 
1896-     ) ; 
1887+     // TODO: assert toErrorDev() when the warning is implemented again. 
1888+     ReactNoop . act ( ( )  =>  { 
1889+       Scheduler . unstable_runWithPriority ( 
1890+         Scheduler . unstable_UserBlockingPriority , 
1891+         ( )  =>  _setShow ( true ) , 
1892+       ) ; 
1893+     } ) ; 
18971894  } ) ; 
18981895
1899-   it ( 'warns when a low priority update suspends inside a high priority update for class components' ,  async  ( )  =>  { 
1896+   // TODO: flip to "warns" when this is implemented again. 
1897+   it ( 'does not warn when a low priority update suspends inside a high priority update for class components' ,  async  ( )  =>  { 
19001898    let  show ; 
19011899    class  App  extends  React . Component  { 
19021900      state  =  { show : false } ; 
@@ -1915,17 +1913,13 @@ describe('ReactSuspenseWithNoopRenderer', () => {
19151913      ReactNoop . render ( < App  /> ) ; 
19161914    } ) ; 
19171915
1918-     expect ( ( )  =>  { 
1919-       ReactNoop . act ( ( )  =>  { 
1920-         Scheduler . unstable_runWithPriority ( 
1921-           Scheduler . unstable_UserBlockingPriority , 
1922-           ( )  =>  show ( ) , 
1923-         ) ; 
1924-       } ) ; 
1925-     } ) . toErrorDev ( 
1926-       'Warning: App triggered a user-blocking update that suspended.'  +  '\n\n' , 
1927-       { withoutStack : true } , 
1928-     ) ; 
1916+     // TODO: assert toErrorDev() when the warning is implemented again. 
1917+     ReactNoop . act ( ( )  =>  { 
1918+       Scheduler . unstable_runWithPriority ( 
1919+         Scheduler . unstable_UserBlockingPriority , 
1920+         ( )  =>  show ( ) , 
1921+       ) ; 
1922+     } ) ; 
19291923  } ) ; 
19301924
19311925  it ( 'does not warn about wrong Suspense priority if no new fallbacks are shown' ,  async  ( )  =>  { 
0 commit comments