Const
Simply calls React.act(cb) If that's not available (older version of react) then it simply calls the deprecated version which is ReactTestUtils.act(cb)
Simply calls React.act(cb) If that's not available (older version of react) then it simply calls the deprecated version which is ReactTestUtils.act(cb)