Quality Assurance Projects - Metric-Imperial Converter

issues:
Invalid number
Invalid number and unit
All 16 unit tests are complete and passing.
All 5 functional tests are complete and passing.

i have tried all possible input from my own and chatgpt generated. all works fine in my site but why it’s not passing test. Any kind of help will be life saving for me!

Your project link(s)

solution: Glitch :・゚✧

githubLink: GitHub - EDISON-MONDAL/Metric-Imperial-Converter: Legacy back end 1st freeCodeCamp project.

Your browser information:

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

Challenge: Quality Assurance Projects - Metric-Imperial Converter

It is a specific issue with this project’s tests and Glitch. If you use Replit it will pass. You can use your repo to create the Replit.

For the tests to pass you have to add the environment variable to the Secrets and you likely also have to add .keepOpen() after all the .request(server) calls in the test code.

 chai
   .request(server)
   .keepOpen()
   // rest of code
2 Likes

@lasjorg you keep me alive.
Humanity sill alive you deed keeps reminding me :sob::sob::sob::sob::sob::sob::sob::sob::sob::sob:
tons of love for you will be less dear :heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart:

Happy to help.

We have now added a note to this challenge about the Glitch issue. It will show up in production at some point.

2 Likes

Wow! this will help others who are going to take this test by own like me.
Thank you very much again :black_heart::heart::black_heart::heart:

1 Like

Thanks for the solution. It was hard to tell when you passed all the testing and kept giving errors. you save the day. cheers.

1 Like

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