Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1 KB

README.md

File metadata and controls

28 lines (16 loc) · 1 KB

MyWeatherComponent

My weather component is a simple React-redux example providing 100% test coverage for components, actions, and reducers using jest as a testrunner combining expect and snapshot testing.

Live demo available at https://wvanvlaenderen.github.io/react-redux-weathercomponent/

In the project directory, you can run:

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.

yarn build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

yarn test -- --coverage

Launches the test runner and generates a coverage report.