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 ;)
@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!
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 ;)