Skip to content

Jest does not work with Firebase out of the box #6747

Closed
@levino

Description

@levino

Currently there are ".js" files generated which are "es modules". Since there is no "type": "module" in the package.json, this is simply illegal as far as I can tell. It creates issues when trying to load firebase with jest and jsdom.

Either we have to make this a module or always use .mjs for all modules.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions