Closed garyforsterio closed 4 years ago
Hey @garyforsterio good question. That parameter sets the GOOGLE_APPLICATION_CREDENTIAL environment variable (see https://github.com/firebase/firebase-functions-test/blob/master/src/lifecycle.ts#L65), in order to initialize firebase-admin.
Here is the documentation on how the various credentials that are accepted by firebase-admin: https://firebase.google.com/docs/admin/setup#initialize-sdk. It doesn't appear like there's a way to supply a token in an environment variable. You can make a feature request for firebase-admin here: https://github.com/firebase/firebase-admin-node
Version info
firebase-functions-test: 0.1.7 firebase-functions: 3.0.1 firebase-admin: 8.1.0
Test case
Steps to reproduce
Expected behavior
The it should be required to commit keys into source control to run testing in CI
Actual behavior
I can't find any documentation on this, so I'm opening an issue here. Sorry if it's in the wrong place