Closed mdjastrzebski closed 2 months ago
renderWithAct didn't used the right act method. It used the one straight from React Test Renderer, instead of our internal act which has support for global.IS_REACT_ACT_ENVIRONMENT and React 18
renderWithAct
act
global.IS_REACT_ACT_ENVIRONMENT
All test should pass.
Summary
renderWithAct
didn't used the rightact
method. It used the one straight from React Test Renderer, instead of our internalact
which has support forglobal.IS_REACT_ACT_ENVIRONMENT
and React 18Test plan
All test should pass.