A javascript implementation for solving a coding challenge
npm install
To execute the unit tests, run:
npx jest
To test a specific function, for instance to test the removeDuplicates()
function in remove_duplicates.js
file, run:
npx jest challenges/remove_duplicates.js
After executing the unit-tests, a test-report.html
file is created, in the root directory, to generate the test report