Nicolas
Results
2
comments of
Nicolas
This lib provides hooks to measure the insets/edges and dynamically choose to or not render over those insets. So it's more flexible. see doc https://github.com/th3rdwave/react-native-safe-area-context#usesafeareainsets
For my use case I did ``` jest.mock('react-native-sound', () => { class SoundMocked { static setCategory = jest.fn(); } // SoundMocked.prototype.getDuation =jest.fn(); return SoundMocked; }); ```