Cannot pass test 11 on metric converter

Tell us what’s happening:
I cannot pass test 11 even though my code appears to be doing what is asked. All other tests are passed. What am I missing?

test 11: My return will consist of the initNum , initUnit , returnNum , returnUnit , and string spelling out units in the format '{initNum} {initial_Units} converts to {returnNum} {return_Units}' with the result rounded to 5 decimals.

Your code so far
from the controller:

  this.getString = function (initNum, initUnit, returnNum, returnUnit) {
    let initial_Units = this.spellOutUnit(initUnit)
    let return_Units = this.spellOutUnit(returnUnit)

    let result = `${initNum} ${initial_Units} converts to ${returnNum} ${return_Units}`;

    return result;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36.

Challenge: Metric-Imperial Converter

Link to the challenge:

I had the same issue and in my case, it’s because my output for the spelled out units had an “s” in parentheses at the end of each unit to account for situations where the number was only 1 (e.g., “gallon(s)”). The test expects the spelled out units to read “gallons”, “kilometers”, “liters”, and “miles”, so if you don’t have that exact same output, the test will fail.

Yep, this worked! I changed the controller function to return back “gallons”, “Liters” (capitalized), “miles”, “kilometers”, “pounds”, “kilograms” and also changed the unit test expectation as well. It now passes all tests.