Giter Site home page Giter Site logo

Auth error mock about firebase-mock HOT 5 CLOSED

TarikHuber avatar TarikHuber commented on May 19, 2024
Auth error mock

from firebase-mock.

Comments (5)

soumak77 avatar soumak77 commented on May 19, 2024

You should be able to pass any of the auth methods to failNext to have that method error on next call. The list of auth methods can be found here: https://github.com/soumak77/firebase-mock/blob/master/src/auth.js#L75-L80

from firebase-mock.

TarikHuber avatar TarikHuber commented on May 19, 2024

Thx @soumak77 . Will try it ASAP. I'm working on a library to sync firebase with redux: https://github.com/TarikHuber/firekit It has no dependencies and only functional programming. I'm trying to get the tests to 100% (status now 90%). A feedback from you would be awesome 😄

from firebase-mock.

soumak77 avatar soumak77 commented on May 19, 2024

@TarikHuber have you checked out https://github.com/firebase/reactfire? That might help

from firebase-mock.

TarikHuber avatar TarikHuber commented on May 19, 2024

Thx @soumak77 for the suggestion. I know that project. It is unfortunately very component based. Some project use redux as single state of truth so a redux sync is required. It also enables sync that is not limited by a component and firekit is in that sense the only library that supports persistent sync. But this is probably the wrong place to discuss such things ;)

from firebase-mock.

soumak77 avatar soumak77 commented on May 19, 2024

closing as resolved

from firebase-mock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.