Remove unneeded flatMap lazy chaining tests.

This commit is contained in:
John-David Dalton
2016-03-06 19:12:47 -08:00
parent 64704e16c1
commit c16e64cd36

View File

@@ -5806,25 +5806,6 @@
var object = { 'length': [1, 2] };
assert.deepEqual(func(object, identity), [1, 2]);
});
QUnit.test('`_.' + methodName + '` should work in a lazy sequence', function(assert) {
assert.expect(2);
if (!isNpm) {
var largeArray = lodashStable.range(LARGE_ARRAY_SIZE),
smallArray = array;
lodashStable.times(2, function(index) {
var array = index ? largeArray : smallArray,
actual = _(array).filter(isEven)[methodName](duplicate).take(2).value();
assert.deepEqual(actual, _.take(func(_.filter(array, isEven), duplicate), 2));
});
}
else {
skipAssert(assert, 2);
}
});
});
/*--------------------------------------------------------------------------*/