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

Use environment variables for Firebase emulator, if available. #55

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dinko7
Copy link

@dinko7 dinko7 commented Oct 13, 2024

Related Issues

fixes #52

NOTE: dart test doesn't support -D (define) option for running tests, so I've created a bash script (firebase_admin_app_test.sh) which runs the tests with these variables set and cleans them up afterwards. I hope this is still considered a valid test since it's a technical limitation that's causing this.

@CLAassistant
Copy link

CLAassistant commented Oct 13, 2024

CLA assistant check
All committers have signed the CLA.

Uri.http(firestoreEmulatorHost, '/'),
);
},
zoneValues: {envSymbol: testEnv},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move that before the callback, for more readable code

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved. Any other feedback?

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

Successfully merging this pull request may close these issues.

Use environment variables for emulator
3 participants