This is the first tech test of Makers week ten. Here I create a command line program where the user can deposit money into their bank account, withdraw funds from their bank account, show their balance, show their transactions and print out a full statement.
Code written in JavaScript with Node.js runtime environment, unit tests performed in Jest.
- Clone this repository.
- Ensure you are in the project root.
- Run
npm install
to install dependencies. - Run
node
to start the Node REPL. - Enter
const BankAccount = require('./bankAccount.js')
to require the module. - Initialize your account with
new BankAccount()
.
npm test