Skip to content

Commit c9cc34f

Browse files
removed lodash (#62)
1 parent b39740c commit c9cc34f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"karma-sinon": "^1.0.5",
4242
"karma-webpack": "^2.0.3",
4343
"load-grunt-tasks": "^0.6.0",
44-
"lodash": "4.13.1",
4544
"mocha": "^2.5.3",
4645
"mocha-lcov-reporter": "^1.3.0",
4746
"sinon": "^2.3.1",

tests/test_data.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
var cloneDeep = require('lodash/cloneDeep');
16+
var fns = require('optimizely-server-sdk/lib/utils/fns');
1717

1818
var config = {
1919
revision: '42',
@@ -256,7 +256,7 @@ var getParsedAudiences = [{
256256
}];
257257

258258
var getTestProjectConfig = function() {
259-
return cloneDeep(config);
259+
return fns.cloneDeep(config);
260260
};
261261

262262

0 commit comments

Comments
 (0)