A set of functions which help you to unit test code that uses firebase.database
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.
(static) reference
A factory function that creates a fake database.reference object.
(static) resolveSnapshot
Return a promise that will resolve a snapshot from the value and key given. This is useful in modeling once()
(static) snapshot
A factory function that creates a fake DataSnapshot object.