-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add initializetestapp() like firebase-rules-testing #2844
-
Have a feature request?
How will it make current
workarounds straightforward? What potential bugs and edge cases does it help to avoid?
Add initializetestapp() to AngularFireModule
To enable auth mocking, like they do with the firebase-rules-testing initialization.
Currently need to disable rules to test angular services with angular fire.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
This issue does not seem to follow the issue template. Make sure you provide all the required information.
Beta Was this translation helpful? Give feedback.
All reactions
-
Moving to discussions.
Our current recommendation is to use the emulators entirely in AngularFire, as swapping out AngularFireModule for initializeTestApp is not trivial (and likely not possible with the current AF API).
Including auth https://firebase.google.com/docs/emulator-suite/connect_auth
Beta Was this translation helpful? Give feedback.