Module: firebase-dbfakes

A set of functions which help you to unit test code that uses firebase.database
Source:

Members

(static) memoizeSnapshot

A helper function when setting up default fake behavior for a suite of tests. It takes boiler plate out of your test code.
Source:

(static) reference

A factory function that creates a fake database.reference object.
Source:

(static) resolveSnapshot

Return a promise that will resolve a snapshot from the value and key given. This is useful in modeling once()
Source:

(static) snapshot

A factory function that creates a fake DataSnapshot object.
Source: