File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/jest-worker/src/workers Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Fixes
6
6
7
+ - ` [jest-worker] ` Add additonal ` execArgv ` to filter ([ #12103 ] ( https://github.com/facebook/jest/pull/12103 ) )
8
+
7
9
### Chore & Maintenance
8
10
9
11
### Performance
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export default class ExperimentalWorker implements WorkerInterface {
67
67
eval : false ,
68
68
// Suppress --max_old_space_size flags while preserving others (like --harmony). See https://nodejs.org/api/worker_threads.html#new-workerfilename-options
69
69
execArgv : process . execArgv . filter (
70
- v => ! / ^ - - ( m a x _ o l d _ s p a c e _ s i z e ) / . test ( v ) ,
70
+ v => ! / ^ - - ( m a x _ o l d _ s p a c e _ s i z e | m a x - o l d - s p a c e - s i z e ) / . test ( v ) ,
71
71
) ,
72
72
// @ts -expect-error: added in newer versions
73
73
resourceLimits : this . _options . resourceLimits ,
You can’t perform that action at this time.
0 commit comments