Tell us what’s happening:
I finished the code and it is working as expected, but when submitting to freecodecamp it says it did not pass the test.
Your code so far
test(‘#isDefined, #isUndefined’, function(){
assert.isDefined( null, ‘null is not undefined’);
assert.isUndefined( undefined, ‘undefined IS undefined’);
assert.isDefined( ‘hello’, ‘a string is not undefined’ );
});
Your browser information:
Challenge: Quality Assurance and Testing with Chai - Test if a Variable or Function is Defined
Link to the challenge: