I added a line in the hints to make it easier for new users to get started. “When submitting your solution, make sure that your code is running in the server so that the tests work.”
Proposal for new edit:
Problem Explanation
To begin, locate the file “tests/1_unit_tests.js”.
This file contains multiple suites of tests for the project, and this first challenge requires you to make the tests in /** 1 */ to pass.
When submitting your solution, make sure that your code is running in the server so that the tests work.
Hints
Hint 1
The two lines in the test should be changed from assert.fail() to either assert.isNull() or assert.isNotNull().
Solutions
Solution 1 (Click to Show/Hide)
/** 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');
});
No worries, if you were caught off-guard. We can always look to improve expectation/communication throughout the curriculum.
I will leave this up, for now, in the hope that others will weigh-in. Potentially, there is some conversation to be had about adding something to the introduction of each block to clarify what “publicly visible” means.
The link needed to be submitted is the link to the Live App. In my case: https://quality-assurance-mocha-chai.glitch.me/
In your case: https://boilerplate-mochachai.paulywill.repl.co
(To expand: I passed with your project as well. You must ensure the app is running in the background, before submitting it)
I’m seeing the same thing as well, running my solution passes completely in the Repl.it page but when I paste the live link url for the passing tests into the Solution link spot on Learn How JavaScript Assertions Work, it errors out.