Welcome to your coding assignment!
In this assignment you will have to update a simple Bank Account class that can do a list of operations:
- Transfer
- Deposit
- Withdraw
- Check balance
- Make sure all unit tests pass
- Create the missing implementation for the BankAccount class methods and update the unit tests in order to achieve 100% coverage
- Check the whole repo - Some mistakes might have crept in so be very careful!
Create a branch with your name on this repository and open a PR. Just push your changes and keep everything nice and tidy in the repository!
Good luck!
- Clone git repository
- Run
npm install
- Run
npm run test
- Open (with browser)
./coverage/lcov-report/index.html
and checkbank-accounts.ts
. - To build the project run:
npm run build
. Results can be found in./build
folder.
- Implement new method
transfer
: 20 minutes - Create all testcases required: 30 minutes
- Add cases to reach 100% coverage: 20 minutes
Total:
70 minues