You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this library in a react-native project that uses Jest for testing, I had to ensure that this module gets transpiled by Jest using its transformIgnorePatterns setting.
There are a number of other libraries that have the same problem, but it should be possible to make this library more universally-usable, perhaps using the module key in package.json. I'm not (yet) clear on the details, but I know there are a number of articles and blog posts around about how to do this well.
The text was updated successfully, but these errors were encountered:
When using this library in a react-native project that uses Jest for testing, I had to ensure that this module gets transpiled by Jest using its
transformIgnorePatterns
setting.There are a number of other libraries that have the same problem, but it should be possible to make this library more universally-usable, perhaps using the
module
key inpackage.json
. I'm not (yet) clear on the details, but I know there are a number of articles and blog posts around about how to do this well.The text was updated successfully, but these errors were encountered: