mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Fix tests for commonjs module builds. [ci skip]
This commit is contained in:
@@ -249,7 +249,7 @@
|
||||
Object.keys = function() { return []; };
|
||||
|
||||
// load Lo-Dash and expose it to the bad shims
|
||||
lodashBadShim = require(filePath);
|
||||
lodashBadShim = require(filePath)._;
|
||||
|
||||
// restore native methods
|
||||
Array.isArray = Array._isArray;
|
||||
|
||||
Reference in New Issue
Block a user