From b3d5466131367d9eae04aff6f5d5e96adbeb43a3 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 29 Nov 2013 22:11:30 -0600 Subject: [PATCH] Fix tests for commonjs module builds. [ci skip] --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index ce8c02bfb..89e9fecc1 100644 --- a/test/test.js +++ b/test/test.js @@ -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;