Commit 17abc8c
test: favor arrow functions for anonymous callbacks
In test-https-agent-additional-options, use arrow functions for
anonymous callbacks. Replace a use of `this` with the relevant constant.
PR-URL: #27830
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 155b947 commit 17abc8cCopy full SHA for 17abc8c
File tree
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Collapse file
test/parallel/test-https-agent-additional-options.js
Copy file name to clipboardExpand all lines: test/parallel/test-https-agent-additional-options.js+7-7Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
| 48 | + |
49 | 49 | |
50 | | - |
| 50 | + |
51 | 51 | |
52 | 52 | |
53 | 53 | |
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
61 | | - |
| 60 | + |
| 61 | + |
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
| 67 | + |
68 | 68 | |
69 | | - |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | 72 | |
|
0 commit comments