Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include props in new ListView and ScrollView mocks
Summary: Hi, The (as of yet unreleased) commit 5537055 added some ListView and ScrollView mocks, but they leave out the original properties passed into them, which broke some of my tests (e.g. by excluding some properties like `testID`, for example, from the render tree) and I assume might break others' as well. This PR makes it so the ListView mock directly returns the scroll component (instead of wrapping it in a View), and has ListViewMock and ScrollViewMock pass their given properties through. Closes #11847 Differential Revision: D4408497 Pulled By: sahrens fbshipit-source-id: 7ec01c35d6b8efeb97761cddffdb4075d09c7d70
- Loading branch information