File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class ComponentWithLoader extends React.Component {
3030}
3131
3232test ( 'it waits for the data to be loaded' , async ( ) => {
33- // TODO: discussions/23#discussioncomment-812450
33+ // TODO: https://github.com/reactwg/react-18/ discussions/23#discussioncomment-812450
3434 jest . useFakeTimers ( )
3535
3636 render ( < ComponentWithLoader /> )
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ configureDTL({
2121 act ( ( ) => {
2222 // TODO: Remove ReactDOM.flushSync once `act` flushes the microtask queue.
2323 // Otherwise `act` wrapping updates that schedule microtask would need to be followed with `await null` to flush the microtask queue manually
24+ // See https://github.com/reactwg/react-18/discussions/21#discussioncomment-796755
2425 result = ReactDOM . flushSync ( cb )
2526 } )
2627 return result
You can’t perform that action at this time.
0 commit comments