I don't know what the solution is, Please?

*Hi, I have completed this challenge far in advance but it still says “All 5 functional tests are complete and passing.” & “All 16 unit tests are complete and passing.”, I don’t know what the solution is?
Thanks
~ Siapa Nih

solution: https://metric-imperial-converter-1.siapanih.repl.co

Your browser information:

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

Challenge: Metric-Imperial Converter

Link to the challenge:

Welcome, siapanih.

Here are some debugging steps I followed:

  1. Pro-tip: Open devtools to look for assertion errors, when running tests:
  2. Look for where that comes from. Happens to come from routes/fcctesting.js:
  let error;
  app.get('/_api/get-tests', cors(), function(req, res, next){
    console.log(error);
    if(!error && process.env.NODE_ENV === 'test') return next();
    res.json({status: 'unavailable'});
  }

Therefore, there is one of two things happening (or both):
a) There is an error
b) process.env.NODE_ENV is not set to 'test'

Hope this helps

@Sky020 Hello, I have tried many times but still can’t until now
My Solutions

What is currently in your .env file? Replit hides the .env file, by default