Commit cb111c9
test: refactor the code of test-keep-alive.js
* use const and let instead of var
* use assert.strictEqual instead of assert.equal
* use arrow functions
* removed console.log statements
PR-URL: #10684
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent a6c93af commit cb111c9Copy full SHA for cb111c9
File tree
Expand file treeCollapse file tree
1 file changed
+15
-19
lines changedOpen diff view settings
Filter options
- test/pummel
Expand file treeCollapse file tree
1 file changed
+15
-19
lines changedOpen diff view settings
Collapse file
test/pummel/test-keep-alive.js
Copy file name to clipboardExpand all lines: test/pummel/test-keep-alive.js+15-19Lines changed: 15 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
16 | | - |
| 15 | + |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
26 | | - |
| 25 | + |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
| ||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | | - |
45 | | - |
46 | | - |
| 44 | + |
47 | 45 | |
48 | 46 | |
49 | 47 | |
50 | | - |
| 48 | + |
51 | 49 | |
52 | 50 | |
53 | 51 | |
| ||
60 | 58 | |
61 | 59 | |
62 | 60 | |
63 | | - |
64 | | - |
| 61 | + |
| 62 | + |
65 | 63 | |
66 | 64 | |
67 | | - |
| 65 | + |
68 | 66 | |
69 | 67 | |
70 | 68 | |
| ||
75 | 73 | |
76 | 74 | |
77 | 75 | |
78 | | - |
79 | | - |
| 76 | + |
| 77 | + |
80 | 78 | |
81 | | - |
82 | 79 | |
83 | 80 | |
84 | 81 | |
85 | | - |
86 | 82 | |
87 | 83 | |
88 | 84 | |
89 | 85 | |
90 | 86 | |
91 | 87 | |
92 | | - |
93 | | - |
94 | | - |
| 88 | + |
| 89 | + |
| 90 | + |
95 | 91 | |
0 commit comments