We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following docs in order to setup jest mock end up in error.
`import mockAsyncStorage from '@react-native-community/async-storage/jest/async-storage-mock'; ' does not work as a file cannot be found.
After inspecting node_modules/@react-native-community/async-storage I have found out that there is nojest folder, only lib folder
node_modules/@react-native-community/async-storage
jest
lib
info React Native Environment Info: System: OS: macOS 10.14.4 CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Memory: 422.65 MB / 16.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 11.13.0 - /usr/local/bin/node Yarn: 1.15.2 - /usr/local/bin/yarn npm: 6.7.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2 Android SDK: API Levels: 21, 23, 25, 26, 27, 28 Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3 System Images: android-25 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64 IDEs: Android Studio: 3.2 AI-181.5540.7.32.5014246 Xcode: 10.2/10E125 - /usr/bin/xcodebuild npmPackages: react: 16.8.3 => 16.8.3 react-native: 0.59.3 => 0.59.3 npmGlobalPackages: react-native-cli: 2.0.1 react-native-git-upgrade: 0.2.7
The text was updated successfully, but these errors were encountered:
I thought the same thing since the docs where updated ... I think they are working on it
Sorry, something went wrong.
Hey @nirre7, @zeljkoX
Version with Jest is not yet published, I'm going publish later today.
Closing this down for now.
thanks.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Current behavior
Following docs in order to setup jest mock end up in error.
`import mockAsyncStorage from '@react-native-community/async-storage/jest/async-storage-mock';
' does not work as a file cannot be found.
After inspecting
node_modules/@react-native-community/async-storage
I have found out that there is nojest
folder, onlylib
folderEnvironment
info
React Native Environment Info:
System:
OS: macOS 10.14.4
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 422.65 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 11.13.0 - /usr/local/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 21, 23, 25, 26, 27, 28
Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3
System Images: android-25 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: 10.2/10E125 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.3 => 0.59.3
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
The text was updated successfully, but these errors were encountered: