This exercise is a demonstration of TDD in JavaScript using. I have also completed the exercise in Java
https://en.wikipedia.org/wiki/Fizz_buzz
A really simple example of TDD: A step by step introduction to Test Driven Development.
- Install dependencies
npm install
- lint and tests with
npm run precommit
Notes:
- Prettier is included in the vscode settings but excluded from linting. I decided to do this so the editor doesn't get spammed with formatting errors.