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
Added missing tests for onHoverOut in Pressability (#55378)
Summary:
This PR adds the missing tests for the `Pressability` class, specifically for the `onHoverOut` property.
The tests simulate interactions similar to the existing `onHoverIn` tests, triggering `onMouseEnter` followed by `onMouseLeave` to verify that `onHoverOut` is called correctly.
## Changelog:
[General] [Added] - Added tests for `Pressability` `onHoverOut` property
Pull Request resolved: #55378
Test Plan:
- Ran the full React Native test suite to ensure all tests pass.
- Verified that the tests fail if the production code for `onHoverOut` is removed, confirming their effectiveness.
Reviewed By: fabriziocucci
Differential Revision: D91951355
Pulled By: Abbondanzo
fbshipit-source-id: 40b0102743ed36228a51cee2b31e151803192549
0 commit comments