The coding exercise is the first stage of the interview process. This contains multiple challenges, each challenge has tests accompanying it so you know exactly when the challenge is solved. Please make sure you follow instructions below in order to clone the project, solving the challenges and finally send your solutions back to us.
Happy Coding!
Go to your working directory and run:
git clone git@github.com:Snapptrip/frontend-code-challenge.git
NodeJS/NPM are required to work with the repository.
Install the dependencies:
yarn install
To be sure that the algorithm is correct, there are several tests to validate the requirements are met.
The test run with Jest which is installed in previous step. The tests can run with watchers too.
npm run test
npm run test -- --watch
After all tests pass please proceed to next step and upload your solutions.
Please make sure tests regarding the challenges you did provide a solution for are passed and then attend below instructions:
git add .
git commit -m "chore: challenges solved"
git bundle create repo.bundle HEAD
Navigate to project directory and attach repo.bundle file in your reply to Snapptrip!'s code challenge email.