Skip to content

firebase-js-sdk versions greater than v11.13 fail in jest #8505

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

Open
mikehardy opened this issue Apr 30, 2025 · 0 comments
Open

firebase-js-sdk versions greater than v11.13 fail in jest #8505

mikehardy opened this issue Apr 30, 2025 · 0 comments

Comments

@mikehardy
Copy link
Collaborator

Bumping firebase-js-sdk still doesn't work for me - the thing that's failing is not lerna:prepare, it's yarn tests:jest - for some reason it is selecting an incompatible bundle for the node+jest environment since they made their package.json entry point change upstream

I have been stumped on this one, the easy fix should be to force jest to select whatever bundle works the old way but I haven't figured out how to do that. The forward-looking fix would be to get Jest working in ESM / "current+future module syntax for node" way since that's the bundle it is selecting now but I also haven't figured that out.

Originally posted by @mikehardy in #8501 (comment)

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