Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

aofleejay/sharing-react-redux-testing

Repository files navigation

React/Redux Testing

How to write test in React and Redux.

🎨 UI

UI

🚀 Quick start

  • Install dependencies

    yarn
    
  • Run test

    • Jest
    yarn test
    
    • Cypress
    yarn cy:open
    
  • View your site locally

    yarn develop
    

📝 Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.1] - 2020-03-17

Changed

  • Update all dependencies.
  • Use toEqual instead of snapshot testing for unit testing of actions, reducers and store to keep test code and result in same file.
  • Find element instead of snapshot testing to avoid fragile testing.
  • Test what user see e.g. find by text and click.
  • Add Cypress.

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.