From c16e64cd36269e3c8788b0061a77d8473da45d72 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 6 Mar 2016 19:12:47 -0800 Subject: [PATCH] Remove unneeded `flatMap` lazy chaining tests. --- test/test.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/test/test.js b/test/test.js index 144ea3914..1d75ba192 100644 --- a/test/test.js +++ b/test/test.js @@ -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); - } - }); }); /*--------------------------------------------------------------------------*/