Skip to content

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

@mikehardy

Description

@mikehardy

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions