An example on how to apply TDD with your React application.
Largelly based on the work of Ian Wilson: which you can find here.
Follow the implementation tree by navigating through commit history.
yarn start
starts the app in your browser, please notice it is not fully
functional, missing higher level functions and comments structure inside
index.js
. This repo goal is the building of CommentFeed.test.js
.
Copy this repo files or clone it.
From the root folder of this repo, get inside "app":
$ cd app
Install all packages:
$ yarn install
Run your tests with:
$ yarn test