PLEASE what is wrong with the code below.
I am having difficulty passing the first challenge under Quality Assurance and Testing with Chai
var chai = require('chai');
var assert = chai.assert;
suite(‘Unit Tests’, function(){
suite(‘Basic Assertions’, function() {
/** assert.fail() will always fail. Change it into something more useful… /
/ 1 - Use assert.isNull() or assert.isNotNull() to make the tests pass. **/
test(’#isNull, #isNotNull’, function(){
assert.isNull(null, ‘this is an optional error description - e.g. null is null’);
assert.isNotNull( 1, ‘1 is not null’);
});
}
After sharing the glitch url, it keeps returning
// running tests
expected undefined to equal ‘passed’
Cannot read property ‘0’ of undefined
Cannot read property ‘1’ of undefined
// tests completed