Debugging practice for node.js.
Clone this repository:
git clone https://github.com/CommandShiftHQ/debug-adventure.gitOpen the repository:
cd debug-adventure/Switch to the bugged branch:
git checkout bugsInstall dependencies:
npm installRun 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.