Skip to content

Add initializetestapp() like firebase-rules-testing #2839

Closed

Description

@warrendodsworth

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.

Activity

  1. google-oss-bot commented on May 21, 2021

    @google-oss-bot

    This issue does not seem to follow the issue template. Make sure you provide all the required information.

  2. jamesdaniels commented on May 25, 2021

    @jamesdaniels
    Contributor

    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

  3. locked and limited conversation to collaborators on May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions