Commit 4022617
test: use spread object
Object.assign() can be replaced by spread objects
PR-URL: #30423
Refs: https://eslint.org/docs/rules/prefer-object-spread
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 39dbc10 commit 4022617Copy full SHA for 4022617
File tree
Expand file treeCollapse file tree
23 files changed
+31
-31
lines changedOpen diff view settings
Filter options
- test
- fixtures/v8-coverage
- parallel
Expand file treeCollapse file tree
23 files changed
+31
-31
lines changedOpen diff view settings
Collapse file
test/fixtures/v8-coverage/spawn-subprocess-no-cov.js
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
Collapse file
test/fixtures/v8-coverage/spawn-subprocess.js
Copy file name to clipboardExpand all lines: test/fixtures/v8-coverage/spawn-subprocess.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
|
Collapse file
test/parallel/test-child-process-env.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-env.js+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
| 29 | + |
| 30 | + |
30 | 31 | |
31 | 32 | |
32 | 33 | |
33 | 34 | |
34 | | - |
| 35 | + |
35 | 36 | |
36 | 37 | |
37 | 38 | |
|
Collapse file
test/parallel/test-child-process-exec-env.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-exec-env.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
| 48 | + |
49 | 49 | |
50 | 50 | |
51 | 51 | |
|
Collapse file
test/parallel/test-child-process-fork-no-shell.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-no-shell.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
|
Collapse file
test/parallel/test-child-process-spawn-shell.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-spawn-shell.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
54 | 54 | |
55 | 55 | |
56 | 56 | |
|
Collapse file
test/parallel/test-child-process-spawnsync-shell.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-spawnsync-shell.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
41 | 41 | |
42 | 42 | |
43 | 43 | |
|
Collapse file
test/parallel/test-cli-node-options-disallowed.js
Copy file name to clipboardExpand all lines: test/parallel/test-cli-node-options-disallowed.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
|
Collapse file
test/parallel/test-crypto-fips.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-fips.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
75 | 75 | |
76 | 76 | |
77 | 77 | |
|
Collapse file
test/parallel/test-env-var-no-warnings.js
Copy file name to clipboardExpand all lines: test/parallel/test-env-var-no-warnings.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
|
0 commit comments