Skip to content

eraldoforgoli/react-testing

Repository files navigation

Testing React Applications Examples

Setup

  1. git clone git@github.com:eraldoforgoli/react-testing

  2. cd react-testing

  3. npm install

Structure

examples/
├── add       # Simple example of a unit test
├── NavBar    # Redux actions and reducer tests
└── Button    # React component tests

Run all tests

$ npm run test

Other commands

  • $ npm run test:function: Run the pure function tests

  • $ npm run test:actions: Run the action tests

  • $ npm run test:reducer: Run the reducer tests

  • $ npm run test:redux: Run both # Testing React Applications Examples

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published