Skip to content

Commit a38bf11

Browse files
jeysalUdit Takkar
authored and
Udit Takkar
committed
Update CHANGELOG.md
1 parent a34295b commit a38bf11

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
### Chore & Maintenance
2525

2626
- `[expect]` `BigInt` global is always defined, don't check for its existence at runtime ([#11979](https://github.com/facebook/jest/pull/11979))
27-
- `[jest-config, jest-util]` Use `ci-info` instead of `is-ci` to detect CI environment ([#11973](https://github.com/facebook/jest/pull/11973)) -`[jest-config]` [**BREAKING**] Change project config from `name` to `id` ([#11089](https://github.com/facebook/jest/pull/11981))
27+
- `[jest-config, jest-util]` Use `ci-info` instead of `is-ci` to detect CI environment ([#11973](https://github.com/facebook/jest/pull/11973))
28+
- `[jest-config, jest-haste-map]` [**BREAKING**] Rename config option `name` to `id` - does not affect `displayName` ([#11981](https://github.com/facebook/jest/pull/11981))
2829

2930
## 27.3.0
3031

packages/jest-haste-map/src/index.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,11 @@ export default class HasteMap extends EventEmitter {
334334

335335
static getCacheFilePath(
336336
tmpdir: Config.Path,
337-
name: string,
337+
id: string,
338338
...extra: Array<string>
339339
): string {
340340
const hash = createHash('md5').update(extra.join(''));
341-
return path.join(
342-
tmpdir,
343-
name.replace(/\W/g, '-') + '-' + hash.digest('hex'),
344-
);
341+
return path.join(tmpdir, id.replace(/\W/g, '-') + '-' + hash.digest('hex'));
345342
}
346343

347344
static getModuleMapFromJSON(json: SerializableModuleMap): HasteModuleMap {

0 commit comments

Comments
 (0)