Skip to content

Commit

Permalink
Fix test bootstrap for core build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Jul 9, 2019
1 parent 53838a3 commit 17a34bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,12 @@

/** Used to test pseudo private map caches. */
var mapCaches = (function() {
var MapCache = _.memoize.Cache;
var MapCache = (_.memoize || lodashStable.memoize).Cache;
var result = {
'Hash': new MapCache().__data__.hash.constructor,
'MapCache': MapCache
};
_.isMatchWith({ 'a': 1 }, { 'a': 1 }, function() {
(_.isMatchWith || lodashStable.isMatchWith)({ 'a': 1 }, { 'a': 1 }, function() {
var stack = lodashStable.last(arguments);
result.ListCache = stack.__data__.constructor;
result.Stack = stack.constructor;
Expand Down

0 comments on commit 17a34bc

Please sign in to comment.