mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Add _.zipObject.
Former-commit-id: 0fe17adc359fbc608025dced32f6dd509d019413
This commit is contained in:
13
test/test.js
13
test/test.js
@@ -754,6 +754,16 @@
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
QUnit.module('lodash.zipObject');
|
||||
|
||||
(function() {
|
||||
test('supports not passing a `values` argument', function() {
|
||||
deepEqual(_.zipObject(['a', 'b', 'c']), { 'a': undefined, 'b': undefined, 'c': undefined });
|
||||
});
|
||||
}());
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
QUnit.module('lodash(...).shift');
|
||||
|
||||
(function() {
|
||||
@@ -807,7 +817,8 @@
|
||||
'union',
|
||||
'uniq',
|
||||
'without',
|
||||
'zip'
|
||||
'zip',
|
||||
'zipObject'
|
||||
], function(methodName) {
|
||||
var pass = true;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user