Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janumedia/react-redux-basic
React + Redux and Unit Test with Jest + Enzyme Example
https://github.com/janumedia/react-redux-basic
async axios enzyme jest json jsx middleware mocking react react-redux reactjs redux sass scss snapshot-testing unit-testing
Last synced: 12 days ago
JSON representation
React + Redux and Unit Test with Jest + Enzyme Example
- Host: GitHub
- URL: https://github.com/janumedia/react-redux-basic
- Owner: janumedia
- Created: 2018-07-24T16:09:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T08:19:35.000Z (over 6 years ago)
- Last Synced: 2024-11-07T19:47:01.080Z (2 months ago)
- Topics: async, axios, enzyme, jest, json, jsx, middleware, mocking, react, react-redux, reactjs, redux, sass, scss, snapshot-testing, unit-testing
- Language: JavaScript
- Homepage:
- Size: 397 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React + Redux Unit Test Example using Jest and Enzyme
This repo provide an example using React + Redux Unit Test Example using `babel-jest` and `enzyme`
# Project Setup
This project setup is based on [react-basic-with-minimal-setup repo](https://github.com/janumedia/react-basic-with-minimal-setup), a React project starter example without using `create-react-app` command.
# Middleware
This project example using `redux-thunk`
Please visit [redux-thunk DOC](https://github.com/reduxjs/redux-thunk/blob/master/README.md) for further documentation# Unit Test
This repo using `jest`, `babel-jest` `enzyme` and `redux-mock-store` for unit testing