Skip to content

Firebase mock library for writing unit tests (experimental)

Notifications You must be signed in to change notification settings

alexweber/mockfirebase

 
 

Repository files navigation

MockFirebase Build Status

This is an experimental library and is not supported by Firebase

Setup

Node/Browserify

$ npm install mockfirebase
var MockFirebase = require('mockfirebase').MockFirebase;

AMD/Browser

$ bower install mockfirebase
<script src="./bower_components/mockfirebase/browser/mockfirebase.js"></script>

API

MockFirebase 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).

Tutorials

About

Firebase mock library for writing unit tests (experimental)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%