Skip to content

Issues with Jest #153

@Emiliano-Bucci

Description

@Emiliano-Bucci

Good evening to all! I'm working on a Next.JS + typescript application and i start to use Firebase. I'm finding issues with jest. Without this lib i keep getting this:

 Test suite failed to run

    TypeError: Cannot read property 'fromJSON' of undefined

      1 | import firebase from "firebase/app";
    > 2 | import "firebase/firestore";
        | ^
      3 | import "firebase/auth";
      4 | import {
      5 |   LogTypes,

and with the use of this lib, mostly the same. Is possible that Firebase team don't think on this kind of environments? Anyone knows why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions