This is an example code of testing a React component that uses context API.
- Clone this project:
$ git clone https://github.com/nandito/react-test.git
- Install dependencies:
$ cd react-test
$ yarn install # or npm install
- Start the app:
$ yarn start # or npm start
- Run the tests:
$ yarn test # or npm test
MIT