Quality Assurance and Testing with Chai - Run Functional Tests on an API Response using Chai-HTTP III - PUT method

Haii sensei… I have a problem like this, I already refresh the website, and still the same.

Thank you sensei :pray:t4:

This is my project
solution: boilerplate-mochachai - Replit

Browser information:

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

Challenge: Quality Assurance and Testing with Chai - Run Functional Tests on an API Response using Chai-HTTP III - PUT method

Link to the challenge:

Sounds like it might be Replit causing your page to timeout due to a bug with Chai. Check out this post:

Sounds like you might need to add this:

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

BUT, that is only if all your functional tests pass on console, and then your page becomes unresponsive after that. Hope this helps.

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