Firebase Mock V3
Firebase Mock V3 extends firebase-mock to provide support for Firebase 3.0.
Setup
Node
$ npm install firebase-mock-v3
var MockFirebase = MockFirebase;
AMD/Browser
$ bower install firebase-mock-v3
API
Firebase Mock V3 supports the normal Firebase API plus a small set of utility methods documented fully in the API Reference. Rather than make a server call that is actually asynchronous, MockFirebase allow you to either trigger callbacks synchronously or asynchronously with a specified delay (ref.flush
).