A framework for building native applications using React
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: https://github.com/facebook/react-native/pull/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
F
Fabrizio Duroni committed
de5994817d8214cae217fca583f89a71c08d7b40
Parent: 47c3ebe
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 2/3/2026, 5:23:26 PM