Commit e78de99
test: improve test-http-chunked-304
* change the nested functions call to run tests in parallel
* use const and let instead of var
* use common.mustCall to control functions execution
* use assert.strictEqual instead of assert.equal
* use arrow functions
PR-URL: #10462
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent ff23d81 commit e78de99Copy full SHA for e78de99
File tree
Expand file treeCollapse file tree
1 file changed
+24
-21
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+24
-21
lines changedOpen diff view settings
Collapse file
test/parallel/test-http-chunked-304.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-chunked-304.js+24-21Lines changed: 24 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
16 | | - |
17 | | - |
| 15 | + |
| 16 | + |
18 | 17 | |
19 | | - |
20 | | - |
| 18 | + |
| 19 | + |
21 | 20 | |
22 | 21 | |
23 | 22 | |
24 | | - |
| 23 | + |
25 | 24 | |
26 | | - |
27 | | - |
28 | | - |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
29 | 30 | |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
35 | 36 | |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
43 | 46 | |
0 commit comments