Commit 4c27cf0
test: refactor callback functions to arrow functions
Refactor callback functions to modern arrow functions.
Also, added `common.mustCall` to `online` callbacks.
PR-URL: #23546
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 1e8ce06 commit 4c27cf0Copy full SHA for 4c27cf0
File tree
Expand file treeCollapse file tree
1 file changed
+10
-12
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+10
-12
lines changedOpen diff view settings
Collapse file
test/parallel/test-cluster-worker-forced-exit.js
Copy file name to clipboardExpand all lines: test/parallel/test-cluster-worker-forced-exit.js+10-12Lines changed: 10 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
| 40 | + |
| 41 | + |
44 | 42 | |
45 | 43 | |
46 | 44 | |
| ||
49 | 47 | |
50 | 48 | |
51 | 49 | |
52 | | - |
53 | | - |
54 | | - |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
55 | 54 | |
56 | 55 | |
57 | 56 | |
58 | 57 | |
59 | 58 | |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
65 | 63 | |
0 commit comments