Luiz Américo
2cf08be625
Ensure after n parameter is coerced from NaN to 0 ( #4430 )
...
* Enable after tests
* Ensure after n parameter is coerced from NaN to 0
2019-08-22 07:46:46 -07:00
Luiz Américo
e2555a43ad
Implement asciiWords and unicodeWords using String.match instead of binding RegExp.exec ( #4417 )
...
* Enable words tests
* Implement asciiWords and unicodeWords using String.match instead of binding RegExp.exec
2019-08-18 11:24:56 -07:00
Luiz Américo
5b4dc54465
Coerce to integer and set default value for chunk size parameter ( #4413 )
...
* Enable chunk module tests
* Coerce to integer and set default value for chunk size param
2019-08-17 09:53:11 -07:00
Luiz Américo
37cd5dc97a
Coerce drop and dropRight n param using toInteger ( #4412 )
...
* Coerce dropRight n param using toInteger
* Coerce drop n param using toInteger
2019-08-16 15:52:06 -07:00
Luiz Américo
a965836cf3
Enable indexOf tests ( #4411 )
2019-08-16 15:51:17 -07:00
Youcef Mammar
abde9319fd
Fix typo in merge test ( #4334 )
2019-06-24 09:17:18 -07:00
Benjamin Tan
d5ef31929a
Add initial test files from lodash v4. ( #4172 )
...
* Install test dependencies.
* Add initial test files.
These files were created using a simplistic AST manipulator using `recast` to
preserve formatting. There's bound to be a huge chunk of errors, but this serves
as a good start. QUnit was replaced with Mocha, with ES2015 imports running via
`esm`.
As far as possible, QUnit-specific syntax has been replaced with Mocha's
`describe` and `it`, while the native Node.js `assert` module is used for
assertions. Files in the `test` directory ending in `.test.js` will be treated
as test files.
* Add initial passing files to test run.
2019-02-12 09:11:32 -08:00
John-David Dalton
2900cfd288
Modularize master branch.
2017-01-06 07:51:22 -08:00
John-David Dalton
e33b15674d
Ensure _.omit doesn’t mutate object with deep paths. [ closes #2912 ]
2016-12-30 18:09:11 -06:00
John-David Dalton
6c1ae0b54d
Update Safari in sauce.
2016-12-21 00:19:59 -06:00
John-David Dalton
0c1c87b046
Update Firefox in sauce.
2016-12-20 16:54:40 -06:00
John-David Dalton
ec74813be6
Add non-enumerable symbol tests.
2016-11-24 00:07:26 -06:00
John-David Dalton
67926a4df2
Minor test nit.
2016-11-24 00:07:26 -06:00
John-David Dalton
40a591d0c0
Test _.isEqual crawls symbol properties.
2016-11-24 00:07:26 -06:00
John-David Dalton
a3e077324a
Add support for comparing symbol properties to _.isEqual. [ closes #2840 ]
2016-11-21 23:34:21 -06:00
John-David Dalton
86ee93650d
Flip iteratee arguments for fp.reduceRight.
2016-11-21 23:34:21 -06:00
John-David Dalton
95d3477c22
Fix code style nits.
2016-11-15 22:04:15 -08:00
John-David Dalton
a06d1a0313
Add _.omit and _.pick tests for keys over paths.
2016-11-15 21:47:03 -08:00
John-David Dalton
330c8cb46e
Cleanup path tests.
2016-11-15 21:46:14 -08:00
John-David Dalton
4cb7bea97d
Ensure _.spread doesn’t include arguments after those spread. [ closes #2825 ]
2016-11-15 10:41:11 -08:00
John-David Dalton
ce093845e1
Ensure _.pick supports path arrays. [ closes #2809 ]
2016-11-14 01:06:35 -08:00
John-David Dalton
102c5f00d7
Ensure _.pickBy doesn’t treat keys with dots as deep paths. [ closes #2808 ]
2016-11-14 00:49:47 -08:00
John-David Dalton
2e4c997dba
Use more clear condition in unclonable test.
2016-11-07 23:00:31 -08:00
John-David Dalton
5aaf7e40ae
Cleanup deep path tests.
2016-11-07 23:00:21 -08:00
Aviv Rosental
9ac729e1bc
Add deep functionality for _.omit and _.pick. ( #2794 )
2016-11-06 17:02:41 -08:00
John-David Dalton
3217118fab
Add more _.spread tests.
2016-11-06 00:39:13 -07:00
John-David Dalton
e0a65ac34a
Cleanup fp tests.
2016-11-06 00:11:53 -07:00
John-David Dalton
b833d83a3e
Add tests for “AllWith” fp methods.
2016-11-06 00:11:53 -07:00
John-David Dalton
1b3815928d
Ensure fp.mergeAllWith accepts more than 2 sources. [ closes #2786 ]
2016-11-04 01:10:54 -07:00
John-David Dalton
62b66305f2
Adjust conditional assignments.
2016-10-31 20:34:49 -07:00
John-David Dalton
0fcf43b02b
Ensure _.xor returns an empty array when comparing the same array. [ closes #2776 ]
2016-10-31 16:32:58 -07:00
John-David Dalton
d7dbf0951d
Add another _.xor test for multiple arrays.
2016-10-29 18:32:23 -07:00
John-David Dalton
daf6de6a46
Add uncloneable Proxy constructor test.
2016-10-29 18:32:23 -07:00
John-David Dalton
7d4c3ed404
Add async function detection to _.isFunction.
2016-10-29 18:32:23 -07:00
John-David Dalton
b91a515258
Cleanup test labels.
2016-10-27 00:06:59 -07:00
John-David Dalton
bc5729a9de
Use consistent nullish checks.
2016-10-27 00:06:59 -07:00
John-David Dalton
729d1a57aa
Ensure _.xor works with more than two arrays. [ closes #2758 ]
2016-10-27 00:06:59 -07:00
Richard Gibson
1c9a9f364d
Avoid object mutation in getRawTag. [ closes #2755 ]
2016-10-25 23:13:34 -07:00
John-David Dalton
bc49e7fe18
Bump Chrome testing in Sauce.
2016-10-24 16:15:31 -07:00
John-David Dalton
6a9337434f
Use travis jwt addon.
2016-10-24 16:15:31 -07:00
Josh Soref
6f7a8501cb
Spelling. ( #2745 )
2016-10-20 12:15:15 -07:00
John-David Dalton
cafb5e1331
Avoid leaked var in _.before test.
2016-10-15 18:10:55 -07:00
John-David Dalton
c82322c490
Fix amd test fails.
2016-10-15 18:10:50 -07:00
John-David Dalton
d2b10de40b
Bump Edge testing in Sauce.
2016-10-13 12:30:51 -07:00
John-David Dalton
d431e97030
fp.convert should handle aliased and remapped methods. [closes #2728 ]
2016-10-11 22:40:20 -07:00
John-David Dalton
a621ba236a
Remove try-catches in tests where possible.
2016-10-10 08:13:15 -07:00
John-David Dalton
a041a3782d
Remove unneeded IE conditional comments test.
2016-10-10 08:12:35 -07:00
John-David Dalton
9f8064a8b5
Add read-only Symbol.toStringTag test.
2016-10-09 23:35:46 -07:00
John-David Dalton
6a8e978fd7
Remove unneeded _.isPlainObject test.
2016-10-09 22:32:20 -07:00
John-David Dalton
aea509c230
Add Symbol.toStringTag test for _.isPlainObject.
2016-10-09 22:25:33 -07:00