-
Notifications
You must be signed in to change notification settings - Fork 908
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 using @firebase/rules-unit-testing
with Firestore Emulator is failed
#8653
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @k1350 I wasn't able to reproduce your original error with a slightly older version of the Firebase CLI and using the same JDK that you're using. However, when I updated to the latest of Firebase CLI version I ran into the same error as this one reported in the Firebase Tool GitHub repo (the Firebase CLI is maintained by the firebase-tools team). So there could be two things happening here.
I hope this helps! |
@DellaBitta Thank you for looking into this. |
I'm glad it worked out! |
Operating System
macOS Sequoia 15.1.1 Apple M2 Pro
Environment (if applicable)
Node.js v20.14.0
Firebase SDK Version
11.0.1
Firebase SDK Product(s)
Firestore
Project Tooling
Detailed Problem Description
When running tests using the emulator, an error occurs with
initializeTestEnvironment
.firestore-debug.log
Steps and code to reproduce issue
minimal reproduction: https://github.com/k1350/functions-sample
The main branch uses an outdated version of the SDK, while the update-versions branch uses the latest version. Therefore, after cloning the repository, please switch the branch.
After
npm install
, please executenpm run test:firestore
.Since it works correctly on GitHub Actions (runs-on: ubuntu-latest), it might be an issue specific to macOS Sequoia or only my environment.
The text was updated successfully, but these errors were encountered: