You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,11 @@
8
8
-`[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github.com/facebook/jest/pull/8454))
9
9
-`[*]` Manage the global timeout with `--testTimeout` command line argument. ([#8456](https://github.com/facebook/jest/pull/8456))
10
10
-`[pretty-format]` Render custom displayName of memoized components
11
+
-`[jest-validate]` Allow `maxWorkers` as part of the `jest.config.js` ([#8565](https://github.com/facebook/jest/pull/8565))
11
12
12
13
### Fixes
13
14
15
+
-`[jest-cli]` Allow `--maxWorkers` to work with % input again ([#8565](https://github.com/facebook/jest/pull/8565))
14
16
-`[babel-plugin-jest-hoist]` Expand list of whitelisted globals in global mocks ([#8429](https://github.com/facebook/jest/pull/8429)
15
17
-`[jest-core]` Make watch plugin initialization errors look nice ([#8422](https://github.com/facebook/jest/pull/8422))
16
18
-`[jest-snapshot]` Prevent inline snapshots from drifting when inline snapshots are updated ([#8492](https://github.com/facebook/jest/pull/8492))
Copy file name to clipboardExpand all lines: packages/jest-cli/src/init/__tests__/__snapshots__/init.test.js.snap
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,9 @@ module.exports = {
81
81
// A set of global variables that need to be available in all test environments
82
82
// globals: {},
83
83
84
+
// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
85
+
// maxWorkers: \\"50%\\",
86
+
84
87
// An array of directory names to be searched recursively up from the requiring module's location
'A path to a module which exports an async function that is triggered once after all test suites',
38
38
globals:
39
39
'A set of global variables that need to be available in all test environments',
40
+
maxWorkers:
41
+
'The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.',
40
42
moduleDirectories:
41
43
"An array of directory names to be searched recursively up from the requiring module's location",
42
44
moduleFileExtensions: 'An array of file extensions your modules use',
0 commit comments