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

Authenticating firebase user before a test suite

$
0
0

I'm trying to run some tests on a react-native component, but the component won't show data because it's trying to get data form firebase.

The approach I'm going for now is to authenticate as a test user I've setup in firebase, then render the component. Expected result should be a list populated with users. But that's not what I'm getting.

I'm not quite sure which piece of code would be most relevant so please request which bits you'd like to see.


Viewing all articles
Browse latest Browse all 6287

Trending Articles



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