Written in Node.js and TypeScript, testing with Jest
This project calls a function that takes a list of coins as an argument and using it returns an object with information about the number of rolls and number of coins that have not been rolled up, for given denomination.
Project is created with:
- Node.js: 12.16.1
- Typescript: 4.2.4
- Jest: 26.6.3
To run this project, install it locally using npm. The result of running the function should be displayed in the console
$ npm install
$ npm start
To run tests:
$ npm test