Skip to content

Commit

Permalink
Update packages/jest-haste-map/src/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Simen Bekkhus <[email protected]>
  • Loading branch information
chentsulin and SimenB committed Feb 23, 2022
1 parent 6a57b81 commit 55cd8e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jest-haste-map/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export default class HasteMap extends EventEmitter {
}
const hasteMap = new HasteMap(options);

await hasteMap._setupCachePath(options);
await hasteMap.setupCachePath(options);

return hasteMap;
}
Expand Down Expand Up @@ -304,7 +304,7 @@ export default class HasteMap extends EventEmitter {
this._worker = null;
}

async _setupCachePath(options: Options): Promise<void> {
private async setupCachePath(options: Options): Promise<void> {
const rootDirHash = createHash('md5').update(options.rootDir).digest('hex');
let hasteImplHash = '';
let dependencyExtractorHash = '';
Expand Down

0 comments on commit 55cd8e1

Please sign in to comment.