I used to test them with enzyme-react-intl(last version),
import { shallowWithIntl } from 'enzyme-react-intl';
const wrapper = shallowWithIntl(<SomeComponent {...props} />);
But after upgrading to react 17.0.2 and trying to install new dependecies im getting an error because enzyme-react-intl does not support react 17. Is there analog for enzyme-react-intl for react 17 or how can i mimic mountWithIntl and shallowWithIntl from enzyme-react-intl ?
`npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: hello-stack@1.0.0 npm ERR! Found: react@16.14.0 npm ERR! node_modules/react npm ERR! peer react@"^15.5.0 || ^16.0.0" from enzyme-react-intl@2.0.6 npm ERR! node_modules/enzyme-react-intl npm ERR! enzyme-react-intl@"^2.0.6" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"17.0.2" from react-dom@17.0.2 npm ERR! node_modules/react-dom npm ERR! react-dom@"^17.0.2" from the root project