SUBTASKS 1.1 "before all" hook for ":1 "worldcup" database should exist"

At a cursory glance, I can’t see anything wrong with your code.
The issue is most likely that the tests are running too slowly and causing timeouts.

Your error message appears to relate to the default mocha timeout, which can be changed in package.json (in the .freeCodeCamp directory).

The quickest way to adjust this is to open terminal and enter the following command:

sed 's/20000/50000/' -i /home/codeally/project/.freeCodeCamp/package.json

As you’ll see, the timeout has been adjust to 50secs now.
If you uncomment all of your code and Run the tests again, you should now have more luck!

2 Likes