Giter Site home page Giter Site logo

Adding tests about redux-offline HOT 5 CLOSED

redux-offline avatar redux-offline commented on May 16, 2024
Adding tests

from redux-offline.

Comments (5)

jevakallio avatar jevakallio commented on May 16, 2024

Hi @fossage! I've added jest to the project, but am currently struggling finding time to contribute. Tests are more than welcome!

However please be aware that some breaking changes are coming soon, so any tests for createOfflineStore are not necessary.

from redux-offline.

fossage avatar fossage commented on May 16, 2024

@jevakallio , okay great. I'll start putting some together and hopefully have a PR ready in the near future. Aside from Jest, do you have any other testing utilities you prefer and/or want to avoid? Lately I've been using a combination of jest and redux-mock-store for reducer testing which seems to be working pretty well.

from redux-offline.

jevakallio avatar jevakallio commented on May 16, 2024

@fossage redux-mock-store is great! I hadn't decided if I wanted to run store reducer tests as snapshot tests or regular chai assertions - either is fine.

from redux-offline.

fossage avatar fossage commented on May 16, 2024

@jevakallio , Cool yea I'm ambivalent on snapshots as well so I'll try to keep them to a minimum. Do you want the tests to be set up to run on any Git hooks?

from redux-offline.

jevakallio avatar jevakallio commented on May 16, 2024

@fossage let's set up any git hooks separately if necessary I'd generally prefer to run the tests on Travis, so hooks may be overkill.

from redux-offline.

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.