Update View-itest.js for pointerEvents box-only unflattening behavior (#55224)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55224
Changelog: [Internal]
D90772188 changed the behavior of views with `pointerEvents="box-only"` to prevent them from being collapsed/flattened. This is intentional because when `important_for_interaction` is applied on a view with `pointerEvents='box-only'`, the view must remain in the hierarchy to correctly signal to the gaze system that its children are not important for interaction.
The test expected the old behavior where `<View pointerEvents="box-only" />` would be collapsed and render `null`. After the C++ change, views with `pointerEvents="box-only"` now always form a stacking context and are not collapsed.
Updated the test to expect the new behavior where `pointerEvents="box-only"` causes views to unflatten, consistent with how `pointerEvents="none"` behaves.
Reviewed By: rubennorte
Differential Revision: D90984297
fbshipit-source-id: 799e4e26b29126386f4fd8183e2ce0b5cb719f9f