Stuck at Challenge One of Quality Assurance (Learn how assertions work )

Tell us what’s happening:
Hello there. I’m currently seeking help on the first challenge of the Quality Assurance certification. I can’t get my tests to pass. I have checked multiple solutions online and all are similar to the snippet below

// #1
    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');

All three tests in the challenge fail. Please help me debug this. Thanks

Your project link(s)


Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Challenge: Learn How JavaScript Assertions Work

Link to the challenge:

Solved. I opened the console then submitted the challenge again. It seems the cors part was failing, so I opened server.js and below the

const runner = require('./test-runner');

part, added the following code:


All tests passed without any additional changes .

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