Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 17165

How to test npm library having native dependecy

$
0
0

I am new to the world of testing.

I have react-native-formly npm library written entirely in javascript but have a component or two which are dependent on native libraries like react-native-image-picker.

Recently, I updated all my dependencies thinking it won't cause any breaking changes but it turned out it actually did.

My primary goal here is to write test cases for the component which require native implementation (test case as simple as app doesn't crash on initialising my component).


Viewing all articles
Browse latest Browse all 17165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>