I’m hoping someone could help me fix a testing issue with my metric-imperial converter. I’ve researched the problem but cannot solve it myself.
It’s on replit at
boilerplate-project-metricimpconverter - Replit
The final 5 functional chai tests appear to be crashing the application before freecodecamp has time to get through all its test. In replit’s console. all 21 chai tests pass. And with my functional tests commented out, everything else passes the freecodecamp tests. It’s only when I include the 5 functional tests that the freecodecamp tests time out.
Any help gratefully received.
Here is a post I made a while back… see if this helps:
As far as I know, you should be able to use Gitpod. If you pin the workspace it shouldn’t get deleted and I think the live URL persists (remains the same). So that might be an option.
The requirement of a live URL is honestly a bit questionable. There are plenty of projects that have passed the tests and were submitted as a solution that is not functional anymore.
Pretty much any project that uses MongoDB Atlas will have the cluster paused after some amount of time and as a resu…
Might see if putting the below in your functional suite might help:
Thank you so much. I placed this after all the tests in the functional tests suite, and it has solved the problem.
Thanks for giving this your time.