sidferreira / aor-firebase-client

Firebase client for Admin on Rest
MIT License
57 stars 29 forks source link

Custom paths #12

Closed grahamlyus closed 7 years ago

grahamlyus commented 7 years ago

Adds support for custom database paths.

I added some tests, but I noticed the existing tests are not quite correct, as they are not returning the promises. I tried to add some mocks for Firebase to check the paths were actually being used, but it's a bit of a nightmare to do ;)

sidferreira commented 7 years ago

@grahamlyus Yes, I know that the mock is kinda nightmare, that's why I setup an account and use a real account for all the tests. I'll take a look on this later this week. But again: thanks a lot!