From where can I get the verbose error code for test cases that have not passed?
As the screenshots, 3 of those test cases are passed which should trigger that first test case of ( All Passed)
No, the screenshot is not saying that every single test in the test suite is passing.
PS I am looking at the screenshot. I’m telling you that the screenshot is not telling you about every single test that is part of this project. You aren’t understanding what I’m saying and I’m trying to explain it differently.
There are 15 different tests in the 1_unit-tests file - every single one of the must be passing.
I don’t understand why the test case is still falling, There isn’t anything else to do for the given exercise. I’m assuming it’s some technical error with the test case.
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');
});
// #2
test('#isDefined, #isUndefined', function() {
assert.isDefined()(null, 'null is not undefined');
assert.isUndefined()(undefined, 'undefined IS undefined');
assert.isDefined()('hello', 'A string is not undefined');
});
These aren’t valid ways to call these assertions - you added an extra set of () that don’t belong