A fork of 'firebase-mock' - Firebase mock library for writing unit tests
Last updated 7 months ago by ed.eustace .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ahum/firebase-mock 
SYNC missed versions from official npm registry.

Firebase Mock Build Status

Firebase Mock extends mockfirebase to provide support for the following Firebase Javascript SDKS:


npm install firebase-mock --save-dev

Follow the steps in the Setup Tutorial to create a mock SDK to be used in your tests. Then follow one of the tutorials below based on your testing framework:


Firebase Mock supports the client-side JavaScript API and server-side Admin API plus a small set of utility methods documented fully in the API Reference. Rather than make a server call that is actually asynchronous, Firebase Mock allows you to either trigger callbacks synchronously or asynchronously with a specified delay (ref.flush).


Client (firebase)

Admin (firebase-admin)

Functions (firebase-functions)


Current Tags

  • 2.3.0                                ...           latest (7 months ago)
  • 2.3.0                                ...           next (7 months ago)

1 Versions

  • 2.3.0                                ...           7 months ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dev Dependencies (31)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |