From 927453654bd9d0f05331a76a278163f45f2ea1f8 Mon Sep 17 00:00:00 2001 From: Thomas DELAYEN Date: Mon, 8 Aug 2022 16:24:14 +0200 Subject: [PATCH 1/2] fix: pipe workerIdleMemoryLimit to globalConfig --- packages/jest-config/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/jest-config/src/index.ts b/packages/jest-config/src/index.ts index 5728f473e5cc..ba9afa5e100b 100644 --- a/packages/jest-config/src/index.ts +++ b/packages/jest-config/src/index.ts @@ -171,6 +171,7 @@ const groupOptions = ( watchAll: options.watchAll, watchPlugins: options.watchPlugins, watchman: options.watchman, + workerIdleMemoryLimit: options.workerIdleMemoryLimit, }), projectConfig: Object.freeze({ automock: options.automock, From 773968580eb7f241dbbf67c7e1dd6307c377cd1c Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 9 Aug 2022 10:36:59 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6808df2d2fb2..bc3a69b6e7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - `[jest-config]` [**BREAKING**] Make `snapshotFormat` default to `escapeString: false` and `printBasicPrototype: false` ([#13036](https://github.com/facebook/jest/pull/13036)) - `[jest-environment-jsdom]` [**BREAKING**] Upgrade to `jsdom@20` ([#13037](https://github.com/facebook/jest/pull/13037), [#13058](https://github.com/facebook/jest/pull/13058)) -- `[jest-worker]` Adds `workerIdleMemoryLimit` option which is used as a check for worker memory leaks >= Node 16.11.0 and recycles child workers as required. ([#13056](https://github.com/facebook/jest/pull/13056)) +- `[jest-worker]` Adds `workerIdleMemoryLimit` option which is used as a check for worker memory leaks >= Node 16.11.0 and recycles child workers as required. ([#13056](https://github.com/facebook/jest/pull/13056), [#13105](https://github.com/facebook/jest/pull/13105), [#13106](https://github.com/facebook/jest/pull/13106)) - `[pretty-format]` [**BREAKING**] Remove `ConvertAnsi` plugin in favour of `jest-serializer-ansi-escapes` ([#13040](https://github.com/facebook/jest/pull/13040)) ### Fixes