@@ -1,5 +1,11 @@
|
||||
getJasmineRequireObj().toBeNull = function() {
|
||||
|
||||
/**
|
||||
* {@link expect} the actual value to be `null`.
|
||||
* @function
|
||||
* @name matchers#toBeNull
|
||||
* @example
|
||||
* expect(result).toBeNull();
|
||||
*/
|
||||
function toBeNull() {
|
||||
return {
|
||||
compare: function(actual) {
|
||||
|
||||
Reference in New Issue
Block a user