/react-test

Primary LanguageJavaScriptMIT LicenseMIT

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