Ibrahim-Sani / Ubar-Driver-Analytics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

week-3-task-node

Engineering Problems

This repo contains questions you should be able to solve in a reasonable amount of time. It tests your understanding of JavaScript fundamentals.

You can run the test cases by running

yarn
yarn jest --watch

Or if you use npm

npm install
npm test -- --watch

You can elide the --watch flag to just run tests

If all tests pass, you have successfully solved the questions.

The solution to question 1 should go in src/analysis.js The solution to question 2 should go in src/report.js

Ensure to write tests as necessary for any utility functions that you may create.


Do not delete the node_modules folder in the src folder, it is a hack to get the api files to be absolute.

You need the api module for Question 1-2. See documentation for the api module at api.md

About


Languages

Language:JavaScript 100.0%