hoodiehq / hoodie-client

:dog: Client API for the Hoodie server
Apache License 2.0
34 stars 25 forks source link

hoodie.ready fix #122

Closed gr2m closed 7 years ago

gr2m commented 7 years ago

Once the hoodie setup finishes, hoodie.ready returns the api instead of resolving with it. Oops. Time to get to proper test coverage to avoid things like this in future ...

gr2m commented 7 years ago

ping @hoodiehq/maintainers this is ready for review. If someone wants to add a test feel free, just don’t have time myself right now. We have to get to 100% test coverage eventually like we do with all other modules, to prevent slips like this in future

I tested this fix with a local hoodie app and it does the trick