Undefined asserter.
Assert that the actual
value is undefined
(using .isUndefined()
assertion).
See also the spec of "undefined" asserter for more examples.
See also
Example
test.undefined(actual);
test
.undefined(undefined)
.undefined()
.then()
.exception(function(){
test.undefined(0);
})
.exception(function(){
test.undefined(1);
})
.exception(function(){
test.undefined('undefined');
})
.exception(function(){
test.undefined(null);
})
.exception(function(){
test.undefined('');
})
.exception(function(){
test.undefined([]);
})
.exception(function(){
test.undefined({});
})
;