I have written tests in Jest (unit test framework for NodeJs). I have also recorded a video to give a quick demo of the project that can be seen at below URL. https://youtu.be/JLSxgDkqoPQ
In order to run the code, run following lines in your terminal:-
1. $ cd weighthelper
2. $ npm install
3. $ npm run test-coverage