react-native-testing-library
react-native-testing-library copied to clipboard
jest version compatibility
Ask your Question
I noticed in the React Native Community TypeScript Template it uses jest 26, and the latest version of this library asks to upgrade to jest 28.
What is the officially supported version of Jest by React Native?
@henrymoulton afaik RN and Jest do not have such thing as supported version mapping, so you should be able to update Jest version independently of RN.
@thymikee maybe you have some more info why Typescript Template, but also RN template still uses Jest 26.6.x
?
Simply because no-one sent a PR to upgrade yet :D RN internally upgraded Jest to 29 recently, so it should be fairly straightforward to upgrade, without being blocked by internal Meta stuff.
I'll close this issue, as it's not relevant to the RNTL, but happy to keep the conversation going :)