react-native-ibeacon icon indicating copy to clipboard operation
react-native-ibeacon copied to clipboard

Unit tests

Open frostney opened this issue 9 years ago • 2 comments

Add unit tests using Jest.

frostney avatar Apr 27 '15 14:04 frostney

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.

ghost avatar Nov 19 '16 00:11 ghost

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

ghost avatar Dec 19 '16 16:12 ghost