Skip to content
New issue

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

what is MockFirebase.override();? #65

Open
stefdelec opened this issue May 9, 2020 · 1 comment
Open

what is MockFirebase.override();? #65

stefdelec opened this issue May 9, 2020 · 1 comment

Comments

@stefdelec
Copy link

in your tutorial you are saying to do MockFirebase.override(); but I can not find anywhere in the doc what is this function.

Your library seems great, but very very hard to understand how it works.

@lesmo
Copy link

lesmo commented May 12, 2020

Actually, it's documented here.

When Firebase is used in an environment where window.Firebase is expected to exist, MockFirebase.override() will replace that so you can run your tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants