Quality Assurance and Testing with Chai - Learn How JavaScript Assertions Work

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:

Hello! Were you able to get past this error? I’m essentially having the same issue. I’m not sure what URL to submit, but I’ve tried both the 1_unit-tests.js one and the deployed site URL. Would appreciate any response - thank you! :raised_hands:


It isn’t a file submission, you submit the address of the server running the code.

Locally running it would be http://localhost:3000

On Replit you run the code and use the “New tab” button to get to the URL


1 Like

Hi @lasjorg! Opening the code in a “New tab” worked. Thank you so much :pray:t4:

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