@@ -1349,7 +1349,7 @@ describe('Timeline profiler', () => {
13491349 ) ;
13501350 } ) ;
13511351
1352- // @reactVersion >= 18.0
1352+ // @reactVersion >= 18.2
13531353 it ( 'should not warn when React finishes a previously long (async) update with a short (sync) update inside of an event' , async ( ) => {
13541354 function Yield ( { id, value} ) {
13551355 Scheduler . log ( `${ id } :${ value } ` ) ;
@@ -1411,7 +1411,7 @@ describe('Timeline profiler', () => {
14111411 } ) ;
14121412
14131413 describe ( 'nested updates' , ( ) => {
1414- // @reactVersion >= 18.0
1414+ // @reactVersion >= 18.2
14151415 it ( 'should not warn about short nested (state) updates during layout effects' , async ( ) => {
14161416 function Component ( ) {
14171417 const [ didMount , setDidMount ] = React . useState ( false ) ;
@@ -1442,7 +1442,7 @@ describe('Timeline profiler', () => {
14421442 expect ( event . warning ) . toBe ( null ) ;
14431443 } ) ;
14441444
1445- // @reactVersion >= 18.0
1445+ // @reactVersion >= 18.2
14461446 it ( 'should not warn about short (forced) updates during layout effects' , async ( ) => {
14471447 class Component extends React . Component {
14481448 _didMount : boolean = false ;
@@ -1595,7 +1595,7 @@ describe('Timeline profiler', () => {
15951595 ) ;
15961596 } ) ;
15971597
1598- // @reactVersion >= 18.0
1598+ // @reactVersion >= 18.2
15991599 it ( 'should not warn about transition updates scheduled during commit phase' , async ( ) => {
16001600 function Component ( ) {
16011601 const [ value , setValue ] = React . useState ( 0 ) ;
@@ -1781,10 +1781,10 @@ describe('Timeline profiler', () => {
17811781 } ) ;
17821782
17831783 describe ( 'suspend during an update' , ( ) => {
1784- // This also tests an edge case where the a component suspends while profiling
1784+ // This also tests an edge case where a component suspends while profiling
17851785 // before the first commit is logged (so the lane-to-labels map will not yet exist).
1786- // @reactVersion >= 18.0
1787- it ( 'should warn about suspending during an udpate ' , async ( ) => {
1786+ // @reactVersion >= 18.2
1787+ it ( 'should warn about suspending during an update ' , async ( ) => {
17881788 let promise = null ;
17891789 let resolvedValue = null ;
17901790 function readValue ( value ) {
@@ -1841,7 +1841,7 @@ describe('Timeline profiler', () => {
18411841 ) ;
18421842 } ) ;
18431843
1844- // @reactVersion >= 18.0
1844+ // @reactVersion >= 18.2
18451845 it ( 'should not warn about suspending during an transition' , async ( ) => {
18461846 let promise = null ;
18471847 let resolvedValue = null ;
0 commit comments