itty11
1
I can’t find the exact error. I think I did correct.
Your project link(s)
solution: boilerplate-mochachai - Replit
Your 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 API Endpoints using Chai-HTTP II
Link to the challenge:
You have changed the code structure and where the callbacks are closed.
The Functional Tests
and Integration tests with chai-http
callbacks should be closed before the zombie tests.
I would use the starting code and just copy/paste the code you have added for each test back as needed.
The functional tests on Replit may also crash the server. You can restart it by adding an after
function to the bottom of the last functional tests
after(function() {
chai.request(server)
.get('/')
});
system
Closed
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.