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

Test and Document Firebase Library #276

Open
3 tasks
robert-s-hogan opened this issue Apr 3, 2024 · 1 comment
Open
3 tasks

Test and Document Firebase Library #276

robert-s-hogan opened this issue Apr 3, 2024 · 1 comment

Comments

@robert-s-hogan
Copy link
Owner

Tasks:

  • Write unit tests for authentication and Firestore services using Jest
  • Set up integration tests with the Firebase emulator (if applicable)
  • Document how to use the library components within the NX monorepo, including setup and example usage
@robert-s-hogan
Copy link
Owner Author

Install and set up Firebase Emulator Suite following the Firebase documentation.
Configure your tests to use the Firestore and Auth emulators. You can do this by modifying your Firebase config in tests to connect to the emulator's address (usually localhost with specific ports).
Write integration tests that interact with the emulated Firestore and Auth services, similar to unit tests but without mocking Firestore and Auth methods.

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

1 participant