| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 22adebf commit e8e014a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,8 +43,10 @@ function doRequest() { | |||
| 43 | 43 | const duration = Date.now() - start; | |
| 44 | 44 | // The timeout event cannot be precisely timed. It will delay | |
| 45 | 45 | // some number of milliseconds. | |
| 46 | - assert.ok(duration >= HTTP_CLIENT_TIMEOUT, | ||
| 47 | - `${duration} < ${HTTP_CLIENT_TIMEOUT}`); | ||
| 46 | + assert.ok( | ||
| 47 | + duration >= HTTP_CLIENT_TIMEOUT, | ||
| 48 | + `duration ${duration}ms less than timeout ${HTTP_CLIENT_TIMEOUT}ms` | ||
| 49 | + ); | ||
| 48 | 50 | })); | |
| 49 | 51 | req.end(); | |
| 50 | 52 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments