Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- `[jest-worker]` When a process runs out of memory worker exits correctly and doesn't spin indefinitely ([#13054](https://github.com/facebook/jest/pull/13054))
- `[@jest/expect-utils]` Fix deep equality of ImmutableJS Record ([#13055](https://github.com/facebook/jest/pull/13055))
- `[jest-haste-map]` Increase the maximum possible file size that jest-haste-map can handle ([#13094](https://github.com/facebook/jest/pull/13094))

### Chore & Maintenance

Expand Down
2 changes: 1 addition & 1 deletion packages/jest-haste-map/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function worker(data: WorkerMessage): Promise<WorkerMetadata> {

// If a SHA-1 is requested on update, compute it.
if (computeSha1) {
sha1 = sha1hex(getContent() || fs.readFileSync(filePath));
sha1 = sha1hex(content || fs.readFileSync(filePath));
}

return {dependencies, id, module, sha1};
Expand Down