mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: use spread instead of Object.assign
PR-URL: https://github.com/nodejs/node/pull/30419 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
013e6eb2f1
commit
864608ec66
@ -4,7 +4,6 @@ require('../common');
|
||||
|
||||
const runBenchmark = require('../common/benchmark');
|
||||
|
||||
const env = Object.assign({}, process.env,
|
||||
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|
||||
const env = { ...process.env, NODEJS_BENCHMARK_ZERO_ALLOWED: 1 };
|
||||
|
||||
runBenchmark('dns', ['n=1', 'all=false', 'name=127.0.0.1'], env);
|
||||
|
Loading…
Reference in New Issue
Block a user