Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 710 Bytes

README.md

File metadata and controls

30 lines (16 loc) · 710 Bytes

atm-test

These tests were created for testing atm objects from ST1 task (introduction to full stack, SH++).

The name of the object, all properties and methods should be as they were in the task, without any changes.

Also ATM object should contain user and admin data objects, given in the task. It may contain other user data objects.

There should be logs array containing logs:

logs: []

Do the following actions to run the tests.

1 Replace atm-template.js file with your own.

  1. Insert following code in the end of your atm-template.js:

module.exports = { ATM, };

  1. Install needed js scripts (mocha, etc.) with the command:

npm install

  1. Run the tests with the command:

npm test test.js