mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Remove unneeded assertion from a _.xor chaining test.
This commit is contained in:
@@ -21639,15 +21639,14 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('`_.' + methodName + '` should return a wrapped value when chaining', function(assert) {
|
QUnit.test('`_.' + methodName + '` should return a wrapped value when chaining', function(assert) {
|
||||||
assert.expect(2);
|
assert.expect(1);
|
||||||
|
|
||||||
if (!isNpm) {
|
if (!isNpm) {
|
||||||
var wrapped = _([1, 2, 3])[methodName]([5, 2, 1, 4]);
|
var wrapped = _([1, 2, 3])[methodName]([5, 2, 1, 4]);
|
||||||
assert.ok(wrapped instanceof _);
|
assert.ok(wrapped instanceof _);
|
||||||
assert.deepEqual(wrapped.value(), [3, 5, 4]);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
skipTest(assert, 2);
|
skipTest(assert);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user