Mismatch in tests passed for Metric-Imperial Converter QA certification

Error in console: Error: At least 16 tests passed: expected 9 to be at least 16
However the test in replit is passed.
Replit link:https://replit.com/@vivekqa04/boilerplate-project-metricimpconverter#server.js

This is the console of Replit.
image

You have accidentally mis-formatted your unit tests file. All the unit tests have to be contained in the outer

suite('Unit Tests', function() {
...
});

suite or the analyzer will not tag them as unit tests for the project test. Right now, you have the last 7 tests outside the Unit Tests suite.

1 Like

Thank you so much. This was taking up my entire time for figuring out.

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