I am thinking of a testing strategy for an application that uses Firebase for its data warehouse. Although for end-to-end tests itβs enough to make requests for the actual backend, it would be nice to do unit tests of application logic that should not go into Firebase.
I was scouring the website to use something like a local JSON file to mock the Firebase javascript service, but didn't find anything. Does something like this exist? If not, I will write it and publish it on github ...
javascript unit-testing firebase
anandthakker
source share