Quality Assurance and Testing with Chai - Use Assert.isOK and Assert.isNotOK

Tell us what’s happening:
I run the solution directly on the feecodeCamp page but the tests always timeout.
On the contrary on the replit page the same code is running ok and the corresponding tests pass.

solution: boilerplate-mochachai (1) - Replit

Your browser information:

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

Challenge: Quality Assurance and Testing with Chai - Use Assert.isOK and Assert.isNotOK

Link to the challenge:

The QA tests part of this course appears to be fundamentally broken. It is possible to pass the tests but the repl usually crashes when QA tests run and makes it extremely difficult to do so. You can try the following:

  1. Complete the code for the current challenge
  2. STOP your repl
  3. Submit the solution link to FCC

This will wake the repl and hopefully allow the tests to pass before the repl crashes again. If the tests still timeout (before the repl crashes), you can try starting the repl and submitting the solution whilst the repl is running but before it has had time to crash. Sometimes this works if you time it just right.

In later challenges in the QA certification, when you are working on non-QA test code and don’t require the tests to run in order to pass the challenge, you can just stop the QA tests from running altogether by using an environment variable or commenting out the relevant parts of the code which start the tests running.

I hope some FCC staff might take note of this issue and try to do something about it!

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