JS-coding-challenge

A javascript implementation for solving a coding challenge

Setup

npm install

Running unit-tests

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