Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 833 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 833 Bytes

ResourceGuru Technical Task

Unit Tests

Technical interview solutions.

Overview

  • Typescript used as a simple typed choice.
  • Test + coverage using Jest
  • Integration with Github CI for automated tests

Documentation

This project assumes yarn is installed. You can install yarn with npm i -g yarn command.

  • Clone the repository, then install the packages in the folder with yarn install
  • To test, run: yarn test; this will run tests for both parts of the challenge.

Note: For the second part of the question, as per the requirement, the assertion logic has been left intact. Building the tree is simplified with a more declarative approach.