Quality Assurance Quality challenges 1

hello everybody i am having a problem with challenge 1 i have done what its asked for but replit gives me an error

Hmm… We couldn’t reach this Repl ## Make sure this Repl has a port open and is ready to receive HTTP traffic.

this is the link to my project : https://replit.com/@kwstasmour/boilerplate-mochachai-1

and this a photo of my code and the error:

The tests crash the server. You can mitigate against this by adding the following code to the bottom of your functional-tests file (i.e. the other test file which you’ve not started working on yet).

after(function() {
  chai.request(server)
  .get('/')
});

This restarts the server and will also reload the HTML doc.

1 Like

thank you very much that worked

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