-
Notifications
You must be signed in to change notification settings - Fork 272
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
Test fails because new isPointerEventEnabled
prevents handler from getting called
#699
Comments
Would you like to investigate this a little more and contribute a fix maybe? :) |
@ccfz could you verify that the issue you reported does still occur on the latest version of RNTL (& React Native, React, React Test Renderer). If so, could you please provide repro repository hopefully based on ours |
It seems that it should be fixed by #906, which restricted pointer checks just to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After upgrading from 0.71 to 0.72 one of my test fails because
fireEvent
no longer triggers the event. If I disable the newisPointerEventEnabled
check the test passes again.Steps to Reproduce
I am mocking react-native-maps like so:
The
MapView
implements the eventonRegionChangeComplete
which is what I trigger in the test like so:fireEvent(wrapper.UNSAFE_getByType(RNMapView), 'RegionChangeComplete');
Screenshots
Versions
The text was updated successfully, but these errors were encountered: