mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Fix test for removal of _.support.funcNames.
This commit is contained in:
@@ -2347,7 +2347,7 @@
|
|||||||
filterCount = mapCount = 0;
|
filterCount = mapCount = 0;
|
||||||
deepEqual(combined(_.range(100)), [4, 16]);
|
deepEqual(combined(_.range(100)), [4, 16]);
|
||||||
|
|
||||||
if (!isNpm && WeakMap && _.support.funcNames) {
|
if (!isNpm && WeakMap && WeakMap.name) {
|
||||||
strictEqual(filterCount, 5, 'filterCount');
|
strictEqual(filterCount, 5, 'filterCount');
|
||||||
strictEqual(mapCount, 5, 'mapCount');
|
strictEqual(mapCount, 5, 'mapCount');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user