File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 265265 "prebenchmark" : " node-gyp rebuild -C benchmark" ,
266266 "benchmark" : " node benchmark" ,
267267 "pretest" : " node-gyp rebuild -C test" ,
268- "test" : " node test" ,
268+ "test" : " node --experimental-worker test" ,
269269 "predev" : " node-gyp rebuild -C test --debug" ,
270270 "dev" : " node test" ,
271271 "predev:incremental" : " node-gyp configure build -C test --debug" ,
Original file line number Diff line number Diff line change 22const child_process = require ( 'child_process' ) ;
33
44const majorNodeVersion = process . versions . node . split ( '.' ) [ 0 ] ;
5- defaultArgs = [ '--expose-gc' , '--no-concurrent-array-buffer-freeing' ] ;
5+ defaultArgs = [
6+ '--expose-gc' ,
7+ '--experimental-worker' ,
8+ '--no-concurrent-array-buffer-freeing'
9+ ] ;
610if ( majorNodeVersion >= 14 ) {
711 defaultArgs . push ( '--no-concurrent-array-buffer-sweeping' ) ;
812}
You can’t perform that action at this time.
0 commit comments