Files
jasmine/src/core/matchers/nothing.js
2019-06-12 16:23:12 -07:00

22 lines
352 B
JavaScript

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