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

Tell us what’s happening:
Describe your issue in detail here.

I’ve completed this specific test challenge, and it keeps giving me “Test timed out” messages even though I’m not losing Internet or anything. I’m not sure how to fix this issue, and it’s just this challenge that it’s happening on. Does anybody know what could be causing this?

Your project link(s)

solution: boilerplate-mochachai (1) - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4.1 Safari/605.1.15

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

Link to the challenge:

You are missing a .keepOpen() call in the last test’s method chain.

.request(server)
.keepOpen()

So I added the keepOpen, but the tests are still timing out. Has anybody else experienced this, and is there a known fix?

Is your project running when you test it? Because I tried it and it works fine:

https://boilerplate-mochachai-1.kaylidiebel1993.repl.co/

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