Closed GeoffreyPlitt closed 7 years ago
@eugenehp Any ideas?
crypto missing?
@GeoffreyPlitt just merged new PR. Let me know if it works for you.
I changed my code so my tests used a different UUID function
@GeoffreyPlitt thanks. If you find time, let me know if this one works for you.
Thanks for starting the topic! 😃
This works fine when I run in simulator/etc.
But when I try to get my unit tests to pass (mocha/istanbul), I get the following error:
/Users/g/stardust-app/node_modules/react-native-uuid/uuid.js:121 var _seedBytes = _rng(); ^ TypeError: _rng is not a function