@johanblumenberg/ts-mockito
Version:
Mocking library for TypeScript
20 lines • 577 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Matcher = void 0;
var Matcher = (function () {
function Matcher() {
this.__type = '__matcher__';
}
Matcher.is = function (value) {
return (value === null || value === void 0 ? void 0 : value.__type) === '__matcher__';
};
Matcher.prototype.match = function (value) {
return false;
};
Matcher.prototype.toString = function () {
return "";
};
return Matcher;
}());
exports.Matcher = Matcher;
//# sourceMappingURL=Matcher.js.map