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