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
* Add trailing `/` to `transformIgnorePatterns`
Fix a small bug with the `transformIgnorePatterns` suggested fix for performing proper transformations on the mocks for Jest compatibility. Need to add a trailing `/` to the regex for the transform ignore, otherwise it will match all packages in `node-modules` that start with the string `react-native`!
* Further explanation about the transform regex
As suggested by @thymikee
Copy file name to clipboardExpand all lines: docs/Jest-integration.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -71,17 +71,18 @@ You can [check its implementation](../jest/async-storage-mock.js) to get more in
71
71
72
72
You need to point Jest to transform this package. You can do so, by adding Async Storage path to `transformIgnorePatterns` setting in Jest's configuration.
0 commit comments