Somehow my unit tests doesn't pass on FCC, but on my localhost or repl.it server all the tests pass

Tell us what’s happening:
I just managed to finish this challange, and both on my localhost server, and on the repl.it all the tests pass, there are 16 tests in my 1_unit-tests.js, all seems to handle the assertions in the description, but it still doesn’t pass when I post it on FCC.

Could anyone help me check out my solution/files? I don’t know what I’m missing…

Your project link(s)

solution: https://fcc-qa-metricimperial-challange.dvidzsmboki.repl.co
githubLink: https://github.com/ddyfedd/fcc-qa-metricimperial-challange.git

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.114 Safari/537.36.

Challenge: Metric-Imperial Converter

Link to the challenge:

Try nesting these block under the first suite ('Unit Tests', function () {...}) context.

This solved it, thank you!!

1 Like

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