Stock Charts is a sample application to demonstrate best practices in testing. Hope you will find it useful. Feedback welcome!
The application consists of a single page that displays information about a stock. Here's a screen shot to give you an idea:
$ yarn
$ yarn start
Now point your browser to http://localhost:3000/.
Execute the following command to run tests in interactive mode:
yarn test
Execute the following command to run all tests and show test coverage.
yarn test --watchAll=false --coverage