mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Prevent false minified method name test fail.
This commit is contained in:
@@ -22711,7 +22711,7 @@
|
||||
QUnit.test('should not contain minified method names (test production builds)', function(assert) {
|
||||
assert.expect(1);
|
||||
|
||||
var shortNames = ['at', 'eq', 'gt', 'lt'];
|
||||
var shortNames = ['_', 'at', 'eq', 'gt', 'lt'];
|
||||
assert.ok(lodashStable.every(_.functions(_), function(methodName) {
|
||||
return methodName.length > 2 || lodashStable.includes(shortNames, methodName);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user