The Sorting Hat has a very important duty every fall at Hogwarts School of Witchcraft and Wizardry. The hat's job is to place new students into one of the school's four prestigious houses. Where the student ends up, can define who they are as a wizard, the choices they make in life, and what they will go on to accomplish.
In this test suite, you will be making a class for a warlock and a class for a sorting hat to create a framework for how students get properly matched with their friends and wizarding community.
Fork this repositorty and clone it down
cd into the directory
run npm install
Run npm test tests/warlock-test.js
and pass the Warlock Class with warlock.js
and warlock-test.js
Once the Warlock test is complete, run npm test tests/sorting-hat-test.js
and pass the Hat Class with sorting-hat.js
and sorting-hat-test.js