| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,7 +57,7 @@ server.listen(0, common.mustCall(async () => { | |||
| 57 | 57 | process.on('exit', () => { | |
| 58 | 58 | let numberOfHttpClients = 0; | |
| 59 | 59 | let numberOfHttpRequests = 0; | |
| 60 | - entries.forEach((entry) => { | ||
| 60 | + for (const entry of entries) { | ||
| 61 | 61 | assert.strictEqual(entry.entryType, 'http'); | |
| 62 | 62 | assert.strictEqual(typeof entry.startTime, 'number'); | |
| 63 | 63 | assert.strictEqual(typeof entry.duration, 'number'); | |
@@ -72,7 +72,7 @@ process.on('exit', () => { | |||
| 72 | 72 | assert.strictEqual(typeof entry.detail.res.statusCode, 'number'); | |
| 73 | 73 | assert.strictEqual(typeof entry.detail.res.statusMessage, 'string'); | |
| 74 | 74 | assert.strictEqual(typeof entry.detail.res.headers, 'object'); | |
| 75 | - }); | ||
| 75 | + } | ||
| 76 | 76 | assert.strictEqual(numberOfHttpClients, 2); | |
| 77 | 77 | assert.strictEqual(numberOfHttpRequests, 2); | |
| 78 | 78 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments