react-native-ibeacon
react-native-ibeacon copied to clipboard
Unit tests
Add unit tests using Jest.
I'm trying to use Jest to test a component that includes calls to react-native-ibeacon functions. I need to mock them out, but it is not clear how to do that. I would be grateful for any advice.
Still no joy. I have posted this question on stack overflow: http://stackoverflow.com/questions/41214265/how-do-i-mock-react-native-ibeacon-in-jest