Skip to content

nandito/react-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Test example

This is an example code of testing a React component that uses context API.

Install

  1. Clone this project:
$ git clone https://github.com/nandito/react-test.git
  1. Install dependencies:
$ cd react-test
$ yarn install # or npm install
  1. Start the app:
$ yarn start # or npm start
  1. Run the tests:
$ yarn test # or npm test

License

MIT