Files
jasmine/src/core/matchers/nothing.js
2017-08-09 16:44:19 +04:00

21 lines
334 B
JavaScript

getJasmineRequireObj().nothing = function() {
/**
* {@link expect} nothing explicitly.
* @function
* @name matchers#nothing
* @example
* expect().nothing();
*/
function nothing() {
return {
compare: function() {
return {
pass: true
};
}
};
}
return nothing;
};