项目
在 GitHub 查看 Firebase Mock
soumak77/firebase-mock
关于
Firebase mock library for writing unit tests
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Firebase Mock 
Firebase Mock extends mockfirebase to provide support for the following Firebase Javascript SDKS:
Setup
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:
API
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).
Tutorials
Client (firebase)
Admin (firebase-admin)
- Authentication
- Realtime Database
- Firestore
- Storage
Functions (firebase-functions)
Alternatives
探索相关项目
加载中…