Anonymous Message Board - unable to pass (tests 11 to 13)

Tell us what’s happening:

Hi all, I would like to seek your advice on how to pass this project. I can’t pass tests 11 to 13 (PUT requests to threads and replies boards and the Functional tests).

the PUT requests seemed to be working just fine (same as the sample: https://anonymous-message-board.freecodecamp.rocks/) but I can’t pass the tests when I try to submit them.

Moreover, I am encountering the following error when I run the tests that I created:

Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves.

note that on my test (2_functional-tests.js) file, all tests have the ‘done();’ called in them. I encounter the same issue before and calling the done() easily resolves the issue but in this case, it is not working. I tried updating the packages on the package.json and tried increasing the timeout limit for the tests but to no avail. I can’t find a reliable solution on google either.

Please help as I am stuck in this project several days already (6 days). Any inputs will be much appreciated.

Your project link(s)

solution: https://boilerplate-project-messageboard.luderio.repl.co

Your browser information:
Version 98.0.4758.102 (Official Build) (64-bit)

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Anonymous Message Board

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.