firebase-mock
firebase-mock copied to clipboard
what is MockFirebase.override();?
in your tutorial you are saying to do MockFirebase.override(); but I can not find anywhere in the doc what is this function.
Your library seems great, but very very hard to understand how it works.
Actually, it's documented here.
When Firebase is used in an environment where window.Firebase
is expected to exist, MockFirebase.override()
will replace that so you can run your tests.