mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2bf8c8bcd6
Summary: **Final Goal** Currently unit test by default unmock everything and dependencies have to be explicitely mocked. The goal is to mock everything by default and whitelist (unmock) explicitely. **This Diff** Fixes the typing in the mock and add unit tests Differential Revision: D16198318 fbshipit-source-id: d2bb71e9c940f4aeb48f8ac92bf3c5444ebc2025