mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-15 13:17:50 +00:00
Add more wrapper tests.
This commit is contained in:
36
test/test.js
36
test/test.js
@@ -20679,8 +20679,15 @@
|
|||||||
(function() {
|
(function() {
|
||||||
var funcs = [
|
var funcs = [
|
||||||
'concat',
|
'concat',
|
||||||
|
'pull',
|
||||||
|
'pullAll',
|
||||||
|
'pullAt',
|
||||||
|
'sampleSize',
|
||||||
|
'shuffle',
|
||||||
'slice',
|
'slice',
|
||||||
'splice'
|
'splice',
|
||||||
|
'toArray',
|
||||||
|
'words'
|
||||||
];
|
];
|
||||||
|
|
||||||
_.each(funcs, function(methodName) {
|
_.each(funcs, function(methodName) {
|
||||||
@@ -20708,10 +20715,18 @@
|
|||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var funcs = [
|
var funcs = [
|
||||||
|
'camelCase',
|
||||||
|
'capitalize',
|
||||||
|
'ceil',
|
||||||
'clone',
|
'clone',
|
||||||
|
'deburr',
|
||||||
|
'endsWith',
|
||||||
|
'escape',
|
||||||
|
'escapeRegExp',
|
||||||
'every',
|
'every',
|
||||||
'find',
|
'find',
|
||||||
'first',
|
'first',
|
||||||
|
'floor',
|
||||||
'has',
|
'has',
|
||||||
'hasIn',
|
'hasIn',
|
||||||
'includes',
|
'includes',
|
||||||
@@ -20740,20 +20755,37 @@
|
|||||||
'isString',
|
'isString',
|
||||||
'isUndefined',
|
'isUndefined',
|
||||||
'join',
|
'join',
|
||||||
|
'kebabCase',
|
||||||
'last',
|
'last',
|
||||||
'max',
|
'max',
|
||||||
'maxBy',
|
'maxBy',
|
||||||
'min',
|
'min',
|
||||||
'minBy',
|
'minBy',
|
||||||
|
'pad',
|
||||||
|
'padLeft',
|
||||||
|
'padRight',
|
||||||
'parseInt',
|
'parseInt',
|
||||||
'pop',
|
'pop',
|
||||||
|
'repeat',
|
||||||
'shift',
|
'shift',
|
||||||
|
'snakeCase',
|
||||||
|
'startCase',
|
||||||
'sum',
|
'sum',
|
||||||
'random',
|
'random',
|
||||||
'reduce',
|
'reduce',
|
||||||
'reduceRight',
|
'reduceRight',
|
||||||
|
'round',
|
||||||
|
'sample',
|
||||||
|
'size',
|
||||||
'some',
|
'some',
|
||||||
'toInteger'
|
'startsWith',
|
||||||
|
'toInteger',
|
||||||
|
'toString',
|
||||||
|
'trim',
|
||||||
|
'trimLeft',
|
||||||
|
'trimRight',
|
||||||
|
'trunc',
|
||||||
|
'unescape'
|
||||||
];
|
];
|
||||||
|
|
||||||
_.each(funcs, function(methodName) {
|
_.each(funcs, function(methodName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user