Metric Imperial Converter Not Passing

Hi everyone, this one has me so puzzled.

My metric imperial converter is not passing any of the conversion or unit tests on freecodecamp (not the chai tests) and when I use it myself it works perfectly fine, as in its able to convert every unit and number, print out the correct responses, JSON, and everything else. I even pass all the chai tests.

Any help would be appreciated.

Link to my project:
https://repl.it/talk/share/6_MetricImpConverter/84370