We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is already a fix for this issue, but I could not find a related bug. (Pull request #184).
The problem is that node 18 and node 16 handle localhost differently. The code is hardcoded to use localhost which no longer works.
In addition to that it seems to load the process env variable to define the emulator host too soon which the pull request also addresses.
firebase-functions-test: 3.0.0
firebase-functions: 4.2.0
firebase-admin: 11.5.0
** Node: ** v18.13.0
Using node 18+ attempt to run
await firestoreFunctionsTest.firestore.clearFirestoreData({ projectId: 'project-id', })
It works.
Fails with ECONNREFUSED ::1:8080.
ECONNREFUSED ::1:8080
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is already a fix for this issue, but I could not find a related bug. (Pull request #184).
The problem is that node 18 and node 16 handle localhost differently. The code is hardcoded to use localhost which no longer works.
In addition to that it seems to load the process env variable to define the emulator host too soon which the pull request also addresses.
Version info
firebase-functions-test: 3.0.0
firebase-functions: 4.2.0
firebase-admin: 11.5.0
** Node: ** v18.13.0
Test case
Using node 18+ attempt to run
await firestoreFunctionsTest.firestore.clearFirestoreData({
projectId: 'project-id',
})
Expected behavior
It works.
Actual behavior
Fails with
ECONNREFUSED ::1:8080
.The text was updated successfully, but these errors were encountered: