Files
jasmine/src/core/asymmetric_equality/Truthy.js
2018-02-15 16:00:33 -08:00

15 lines
260 B
JavaScript

getJasmineRequireObj().Truthy = function(j$) {
function Truthy() {}
Truthy.prototype.asymmetricMatch = function(other) {
return !!other;
};
Truthy.prototype.jasmineToString = function() {
return '<jasmine.truthy>';
};
return Truthy;
};