-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
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
Mock StatusBarManager is missing getHeight() method #22385
Comments
It looks like the Android implementation also doesn't have this method and I can't find any references to that function being called from anywhere in the React Native code base. Are you directly calling this method in your code? If so, I suspect it will cause runtime issues on Android. |
Hey @bartolkaruza, Thanks for the fast response.
No, we are calling this method in |
Ok, so maybe you can resolve this issue by simply using the Alternatively, feel free to open a PR which adds that method to the mock :) |
Ok thanks @bartolkaruza! |
Nice, thanks @bartolkaruza! |
StatusBarManager
is missing getHeight() when runningjest
, which result in failed tests.Thanks.
The text was updated successfully, but these errors were encountered: