Commit 2d25cdd
test: remove unused function arguments in async-hooks tests
Remove unused function arguments in three async-hooks tests and
improve test consistancy.
PR-URL: #24406
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 7fd4ef7 commit 2d25cddCopy full SHA for 2d25cdd
File tree
Expand file treeCollapse file tree
3 files changed
+14
-16
lines changedOpen diff view settings
Filter options
- test/async-hooks
Expand file treeCollapse file tree
3 files changed
+14
-16
lines changedOpen diff view settings
Collapse file
test/async-hooks/test-promise.chain-promise-before-init-hooks.js
Copy file name to clipboardExpand all lines: test/async-hooks/test-promise.chain-promise-before-init-hooks.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
|
Collapse file
test/async-hooks/test-promise.js
Copy file name to clipboardExpand all lines: test/async-hooks/test-promise.js+10-12Lines changed: 10 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
| 16 | + |
| 17 | + |
28 | 18 | |
29 | 19 | |
30 | 20 | |
31 | 21 | |
32 | 22 | |
33 | 23 | |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
34 | 32 | |
35 | 33 | |
36 | 34 | |
|
Collapse file
test/async-hooks/test-promise.promise-before-init-hooks.js
Copy file name to clipboardExpand all lines: test/async-hooks/test-promise.promise-before-init-hooks.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
|
0 commit comments