We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I've checked your sample code but can't figure out how to use it.
Here is my source code.
addListener () { this.db.ref('age').once('value', (snap) => { ... } );
FYI, this.db = firebase.database() from require('firebase');
The source code is working fine by reading data from Realtime Database.
I need to write a unit test for this part.
I tried to use firebase-mock but no idea how to do it.
firebase-mock
Can you please help me?
Thanks. @soumak77
The text was updated successfully, but these errors were encountered:
I do agree with you! Tutorial are not very clear. They use method 'overide', like MockFirebase.override(); but this method does not exist.
Sorry, something went wrong.
No branches or pull requests
Hi.
I've checked your sample code but can't figure out how to use it.
Here is my source code.
FYI, this.db = firebase.database() from require('firebase');
The source code is working fine by reading data from Realtime Database.
I need to write a unit test for this part.
I tried to use
firebase-mock
but no idea how to do it.Can you please help me?
Thanks. @soumak77
The text was updated successfully, but these errors were encountered: