act
const act: typeof reactAct extends undefined ? (callback: () => void) => void : typeof reactAct;
Simply calls ReactDOMTestUtils.act(cb) If that's not available (older version of react) then it simply calls the given callback immediately
const act: typeof reactAct extends undefined ? (callback: () => void) => void : typeof reactAct;
Simply calls ReactDOMTestUtils.act(cb) If that's not available (older version of react) then it simply calls the given callback immediately