Practice test-driven development by implementing ranking of poker hands.
http://codingdojo.org/kata/PokerHands/
- Install nvm or nvm-windows for windows
- Install yarn
- In the root directory of the project, run the following commands:
nvm use
yarn install
- To run tests, run the command
yarn test
- To run in watch mode, run
yarn test:watch
The Jest API is a good resource.