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