Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update memoization #858

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update memoization to lodash implementation
  • Loading branch information
nikolai-laevskii committed Sep 25, 2023
commit d5f102c3e39ed67820098e56424fd06996733e87
5 changes: 2 additions & 3 deletions __tests__/cache-utils.test.ts
Original file line number Diff line number Diff line change
@@ -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';
@@ -123,7 +122,7 @@ describe('cache-utils', () => {
MockGlobber.create(['/foo', '/bar'])
);

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

afterEach(() => {
Loading
Oops, something went wrong.