Lines Matching refs:methodName

290   _.each(['fp.convert', 'method.convert'], function(methodName) {  argument
291 var isFp = methodName == 'fp.convert',
294 QUnit.test('`' + methodName + '` should work with an object', function(assert) {
307 QUnit.test('`' + methodName + '` should extend existing configs', function(assert) {
328 var methodNames = _.filter(_.functions(fp), function(methodName) { argument
329 return fp[methodName].length > 1;
341 var methodNames = _.filter(mapping.aryMethod[aryCap], function(methodName) { argument
342 var key = _.get(mapping.remap, methodName, methodName),
385 var actual = _.map(mapping.aryMethod[1], function(methodName) { argument
386 var arg = _.includes(funcMethods, methodName) ? _.noop : 1,
387 result = _.attempt(function() { return fp[methodName](arg); });
389 if (_.includes(exceptions, methodName)
395 console.log(methodName, result);
414 var actual = _.map(mapping.aryMethod[2], function(methodName) { argument
415 …var args = _.includes(funcMethods, methodName) ? [methodName == 'curryN' ? 1 : _.noop, _.noop] : […
416 result = _.attempt(function() { return fp[methodName](args[0])(args[1]); });
418 if (_.includes(exceptions, methodName)
424 console.log(methodName, result);
441 var actual = _.map(mapping.aryMethod[3], function(methodName) { argument
442 var args = _.includes(funcMethods, methodName) ? [_.noop, 0, 1] : [0, 1, []],
443 result = _.attempt(function() { return fp[methodName](args[0])(args[1])(args[2]); });
448 console.log(methodName, result);
646 _.each(methodNames, function(methodName) { argument
647 var func = fp[methodName];
649 QUnit.test('fp.' + methodName + '` should have a `placeholder` property', function(assert) {
705 _.each(['add', 'subtract'], function(methodName) { argument
706 var func = fp[methodName],
707 isAdd = methodName == 'add';
709 QUnit.test('`fp.' + methodName + '` should not have `rearg` applied', function(assert) {
720 _.each(['assign', 'assignIn', 'defaults', 'defaultsDeep', 'merge'], function(methodName) { argument
721 var func = fp[methodName];
723 QUnit.test('`fp.' + methodName + '` should not mutate values', function(assert) {
734 …(['assignAll', 'assignInAll', 'defaultsAll', 'defaultsDeepAll', 'mergeAll'], function(methodName) { argument
735 var func = fp[methodName];
737 QUnit.test('`fp.' + methodName + '` should not mutate values', function(assert) {
748 _.each(['assignWith', 'assignInWith', 'extendWith'], function(methodName) { argument
749 var func = fp[methodName];
751 …QUnit.test('`fp.' + methodName + '` should provide the correct `customizer` arguments', function(a…
764 …_.each(['assignAllWith', 'assignInAllWith', 'extendAllWith', 'mergeAllWith'], function(methodName)… argument
765 var func = fp[methodName];
767 QUnit.test('`fp.' + methodName + '` should not mutate values', function(assert) {
777 QUnit.test('`fp.' + methodName + '` should work with more than two sources', function(assert) {
835 _.each(['curry', 'curryRight'], function(methodName) { argument
836 var func = fp[methodName];
838 QUnit.test('fp.' + methodName + '` should only accept a `func` param', function(assert) {
849 _.each(['curryN', 'curryRightN'], function(methodName) { argument
850 var func = fp[methodName];
852 QUnit.test('fp.' + methodName + '` should accept an `arity` param', function(assert) {
928 _.each(['divide', 'multiply'], function(methodName) { argument
929 var func = fp[methodName],
930 isDivide = methodName == 'divide';
932 QUnit.test('`fp.' + methodName + '` should not have `rearg` applied', function(assert) {
986 _.each(['findFrom', 'findIndexFrom', 'findLastFrom', 'findLastIndexFrom'], function(methodName) { argument
987 var func = fp[methodName];
989 …QUnit.test('fp.' + methodName + '` should provide the correct `predicate` arguments', function(ass…
1044 _.each(['findIndexFrom', 'indexOfFrom'], function(methodName) { argument
1045 var func = fp[methodName],
1046 resolve = methodName == 'findIndexFrom' ? fp.eq : _.identity;
1048 …QUnit.test('fp.' + methodName + '` should have an argument order of `value`, `fromIndex`, then `ar…
1062 _.each(['findLastIndexFrom', 'lastIndexOfFrom'], function(methodName) { argument
1063 var func = fp[methodName],
1064 resolve = methodName == 'findLastIndexFrom' ? fp.eq : _.identity;
1066 …QUnit.test('fp.' + methodName + '` should have an argument order of `value`, `fromIndex`, then `ar…
1101 _.each(['flow', 'flowRight'], function(methodName) { argument
1102 var func = fp[methodName],
1103 isFlow = methodName == 'flow';
1105 QUnit.test('`fp.' + methodName + '` should support shortcut fusion', function(assert) {
1149 …['forEach', 'forEachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight'], function(methodName) { argument
1150 var func = fp[methodName];
1152 QUnit.test('`fp.' + methodName + '` should provide `value` to `iteratee`', function(assert) {
1190 _.each(['gt', 'gte'], function(methodName) { argument
1191 var func = fp[methodName];
1193 QUnit.test('`fp.' + methodName + '` should have `rearg` applied', function(assert) {
1380 _.each(['lt', 'lte'], function(methodName) { argument
1381 var func = fp[methodName];
1383 QUnit.test('`fp.' + methodName + '` should have `rearg` applied', function(assert) {
1412 _.each(['maxBy', 'minBy'], function(methodName) { argument
1414 func = fp[methodName],
1415 isMax = methodName == 'maxBy';
1417 QUnit.test('`fp.' + methodName + '` should work with an `iteratee` argument', function(assert) {
1427 …QUnit.test('`fp.' + methodName + '` should provide the correct `iteratee` arguments', function(ass…
1617 _.each(['omitBy', 'pickBy'], function(methodName) { argument
1618 var func = fp[methodName];
1620 …QUnit.test('`fp.' + methodName + '` should provide `value` and `key` to `iteratee`', function(asse…
1637 _.each(['padChars', 'padCharsStart', 'padCharsEnd'], function(methodName) { argument
1638 var func = fp[methodName],
1639 isPad = methodName == 'padChars',
1640 isStart = methodName == 'padCharsStart';
1642 …QUnit.test('fp.' + methodName + '` should truncate pad characters to fit the pad length', function…
1657 _.each(['partial', 'partialRight'], function(methodName) { argument
1658 var func = fp[methodName],
1659 isPartial = methodName == 'partial';
1661 QUnit.test('fp.' + methodName + '` should accept an `args` param', function(assert) {
1673 QUnit.test('fp.' + methodName + '` should convert by name', function(assert) {
1677 par = convert(methodName, _[methodName]),
1781 _.each(['range', 'rangeRight'], function(methodName) { argument
1782 var func = fp[methodName],
1783 isRange = methodName == 'range';
1785 …QUnit.test('fp.' + methodName + '` should have an argument order of `start` then `end`', function(…
1796 _.each(['rangeStep', 'rangeStepRight'], function(methodName) { argument
1797 var func = fp[methodName],
1798 isRange = methodName == 'rangeStep';
1800 …QUnit.test('fp.' + methodName + '` should have an argument order of `step`, `start`, then `end`', …
1835 _.each(['reduce', 'reduceRight'], function(methodName) { argument
1836 var func = fp[methodName],
1837 isReduce = methodName == 'reduce';
1839 …QUnit.test('`fp.' + methodName + '` should provide the correct `iteratee` arguments when iterating…
1851 …QUnit.test('`fp.' + methodName + '` should provide the correct `iteratee` arguments when iterating…
2001 _.each(['trimChars', 'trimCharsStart', 'trimCharsEnd'], function(methodName, index) { argument
2002 var func = fp[methodName],
2013 QUnit.test('`fp.' + methodName + '` should remove ' + parts + ' `chars`', function(assert) {
2244 _.each(['differenceWith', 'intersectionWith', 'xorWith'], function(methodName) { argument
2245 var func = fp[methodName];
2247 …QUnit.test('`fp.' + methodName + '` should provide the correct `comparator` arguments', function(a…