Fix tests for commonjs module builds. [ci skip]

This commit is contained in:
John-David Dalton
2013-11-29 22:11:30 -06:00
parent bafbd8f1b6
commit b3d5466131

View File

@@ -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;