A sample project for getting started with TDD in JavaScript.
The file ___tests__/capitalize_test.js contains one test case and a few in comments. Start by coming up with a few test cases and add them to the lists, then implement them one at a time, test-driving the solution forwards.
Uses Yarn for the build system and Jest as the test runner.
First install all dependencies with
yarn install
Then, run the tests with:
yarn test