Searched refs:matcherName (Results 1 – 2 of 2) sorted by relevance
17 static getErrorMsg(matcherName, actualValue, expect, originMsg) { argument18 if (matcherName === "assertNull") {21 if (matcherName === "assertTrue") {24 if (matcherName === "assertFalse") {27 if (matcherName === "assertEqual") {31 if (matcherName === "assertContain") {34 if (matcherName === "assertInstanceOf") {39 if (matcherName === "assertLarger") {43 if (matcherName === "assertLargerOrEqual") {47 if (matcherName === "assertLess") {[all …]
779 for (const matcherName in matchers) {780 if (Object.prototype.hasOwnProperty.call(matchers, matcherName)) {781 this.matchers[matcherName] = matchers[matcherName];850 for (const matcherName in this.matchers) {851 let result = Object.prototype.hasOwnProperty.call(this.matchers, matcherName);855 if (matcherName.search('assertPromise') == 0) {856 wrappedMatchers[matcherName] = async function () {857 … await _this.matchers[matcherName](actualValue, arguments).then(function (result) {862 result.checkFunc = matcherName;871 wrappedMatchers[matcherName] = function () {[all …]