-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: improve code in test-https-strict #10648
Conversation
const responseErrors = {}; | ||
let expectResponseCount = 0; | ||
let responseCount = 0; | ||
let pending = 0; | ||
|
||
|
||
function server(options, port) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're refactoring: It looks like port
on line 78 is unused. If that's the case, can you remove it?
* use let and const instead of var * use assert.strictEqual instead of assert.equal * remove unused var
@Trott , removed the unused var |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* use let and const instead of var * use assert.strictEqual instead of assert.equal * remove unused var PR-URL: #10648 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Landed in fd11586 |
* use let and const instead of var * use assert.strictEqual instead of assert.equal * remove unused var PR-URL: nodejs#10648 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
* use let and const instead of var * use assert.strictEqual instead of assert.equal * remove unused var PR-URL: nodejs#10648 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
* use let and const instead of var * use assert.strictEqual instead of assert.equal * remove unused var PR-URL: nodejs#10648 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
* use let and const instead of var * use assert.strictEqual instead of assert.equal * remove unused var PR-URL: nodejs#10648 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test