Tell us what’s happening:
Im dealing with the metric/imperial converter since 3 days ago. the problem is that when i does it in Glitch, pass all the tests except for the invalid number and invalid unit. When i does it in repl.it, pass all the test except for the last two. The proyect is supposed to work as intended
hey @h_juanmar, I encountered the same exact problem.
I realized that on Repl.it, you need to create a new “.env” file and put your 'NODE_ENV=test" variable in it, to trigger the testing. In Repl.it, all the .env standard variables come in “sample.env”, and for some reason references to .env in the server doesn’t read the items in sample.env.
So, just create a new .env file, and put in the variables, and that should trigger the function and unit tests.
This issue should be flagged earlier by FCC, I think a lot of folks get confused by this*.