Tell us what’s happening:
Describe your issue in detail here.
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.128 Safari/537.36
.
Challenge: Metric-Imperial Converter
Link to the challenge:
test('Whole number input', function(done) {
assert.typeOf(convertHandler.getNum('44Kg'), 'number');
done();
});
I wrote this test and it passes but it does not seem that FCC is accepting it as a solution
Maybe in the exercise you could have provided one working unit test and one working functional test as examples
Maybe I need to test for some JSON but I don’t know how to do it
Thanks and regards