Skip to content
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

Issues with Jest #153

Open
Emiliano-Bucci opened this issue Aug 20, 2019 · 0 comments
Open

Issues with Jest #153

Emiliano-Bucci opened this issue Aug 20, 2019 · 0 comments

Comments

@Emiliano-Bucci
Copy link

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?

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