Tell us what’s happening:
Today I started learning “Quality Assurance and Testing with Chai” on freecodecamp. But I can’t complete the challenge in lesson one “Learn How JavaScript Assertions Work”.
I use Gitpod to complete these challenges (the second method).
In gitpod, I modified test#1 of 'Basic Assertions" suite in 1_unit-tests.js.
Then, on freecodecamp, I submitted Solution Link “https://3000-freecodecam-boilerplate-8cs4v2p1g8g.ws-us108.gitpod.io” and click “I’ve completed this chanllenge” button. The Tests are not passed.
what should I do?
Your code so far
// #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’);
});
Your browser information:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Challenge Information:
Quality Assurance and Testing with Chai - Learn How JavaScript Assertions Work