Getting Jest to work with your ESM-based npm library for React Native
Jul 21, 2022 · 3 min read · Introduction It was all so easy. Simply run the react-native init command, set the preset in your Jest config as 'react-native', and voila, npm test works like a charm. But, things aren't as rosy when you want to publish npm libraries and Jest is you...
Join discussion