Skip to content

Commit

Permalink
Update memoization to lodash implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolai-laevskii committed Aug 31, 2023
1 parent ca2d4e0 commit c773d5b
Show file tree
Hide file tree
Showing 6 changed files with 1,456 additions and 76 deletions.
5 changes: 2 additions & 3 deletions __tests__/cache-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import {
PackageManagerInfo,
isCacheFeatureAvailable,
supportedPackageManagers,
getCommandOutput,
resetProjectDirectoriesMemoized
getProjectDirectoriesFromCacheDependencyPath
} from '../src/cache-utils';
import fs from 'fs';
import * as cacheUtils from '../src/cache-utils';
Expand Down Expand Up @@ -123,7 +122,7 @@ describe('cache-utils', () => {
MockGlobber.create(['/foo', '/bar'])
);

resetProjectDirectoriesMemoized();
getProjectDirectoriesFromCacheDependencyPath.cache.clear?.();
});

afterEach(() => {
Expand Down
Loading

0 comments on commit c773d5b

Please sign in to comment.