RealOrangeOne / react-native-mock

A fully mocked and test-friendly version of react native (maintainers wanted)
MIT License
571 stars 153 forks source link

Create custom mock of Navigator #19

Closed sectore closed 8 years ago

sectore commented 8 years ago

It would be nice to have a custom mock of Navigator, because createMockComponent does not covers all the props of Navigator.

Note: Custom mock of Navigator includes static props BreadcrumbNavigationBar and NavigationBar. With this pull request they are just mocked with createMockComponent, which fits my needs. Anyway, both props could be mocked with a custom implemenation, too.

lelandrichardson commented 8 years ago

Awesome! Thanks.