Debugging practice for node.js.
Clone this repository:
git clone git@github.com:MCRcodes/debug-adventure.gitOpen the repository:
cd debug-adventure/Install dependencies:
npm installSwitch to the bugged branch:
git checkout bugsRun tests:
npm testYou will see that most of the tests fail. Your challenge is to find the bugs in the code and correct them so the tests will pass. There are no bugs in the tests.
🔥Hot Tip 1: Start by fixing the errors in the Weapon class 🔥
🔥Hot Tip 2: Next fix the errors in the Character class 🔥
Remember:
- Always read the error messages!
- Google any error messages you don't understand.