After running Node, you can interact with the bank using the following commands:
const Bank = require('./bank');
const bank = new Bank();
bank.deposit(10,"test date 1")
bank.withdraw(10, "test date 2")
bank.printTransactions()
Run the command jest
I approached this task by TDD'ing each criteria, and then coding the feature to pass the test.
I initially decided to make a main bank class that did everything, but then I decided to refactor the transactions into their own class to help keep my code lean.