A kata to exercise functions
Exercise description: http://matteo.vaccari.name/blog/archives/154
- Make the program work
- Go from program execution to program description
A few steps are required in order to be able to run the test:
- Install npm
- Open a console in the root of the project
- run
npm i
in the console
- Write your tests under the
__test__
folder - Write your code under the
source
folder - You can create as many subdirectories as you want both inside
__test__
andsource
folder - In the console write
npm test
in order to run all the tests