Tell us what’s happening:
Hi all! I’m having some trouble with this challenge. I have to assume that it’s a problem with submitting the URL, because my code is identical to the code they give as the solution.
Here’s the URL I submitted: https://github.com/JackPickert/My-repository/blob/main/1_unit-tests-solved.js
Please keep in mind that I am new to github and coding in general so keep jargon to the minimum. I still have barely any idea how any of this shit works.
Your code so far
suite(‘Unit Tests’, function () {
suite(‘Basic Assertions’, function () {
// #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 is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Challenge: Quality Assurance and Testing with Chai - Learn How JavaScript Assertions Work
Link to the challenge: