| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There were no tests confirming situations where server.connections should return `null`. Add a test for that situation. Expand existing server.connection test slightly to check value. Refactor (mostly spacing) code for server.connections setter.
| // has been marked as deprecated | ||
| assert.strictEqual(Object.keys(server).indexOf('connections'), -1); | ||
|
|
||
| assert.strictEqual(server.connections, 0); |
There was a problem hiding this comment.
You might also consider adding a check for the deprecation warning... e.g.
common.expectWarning('DeprecationWarning',
'Server.connections property is deprecated.');
Sorry, something went wrong.
Sorry, something went wrong.
There were no tests confirming situations where server.connections should return `null`. Add a test for that situation. Expand existing server.connection test slightly to check value. Refactor (mostly spacing) code for server.connections setter. PR-URL: nodejs#10762 Reviewed-By: James M Snell <jasnell@gmail.com>
There were no tests confirming situations where server.connections should return `null`. Add a test for that situation. Expand existing server.connection test slightly to check value. Refactor (mostly spacing) code for server.connections setter. PR-URL: nodejs#10762 Reviewed-By: James M Snell <jasnell@gmail.com>
There were no tests confirming situations where server.connections should return `null`. Add a test for that situation. Expand existing server.connection test slightly to check value. Refactor (mostly spacing) code for server.connections setter. PR-URL: #10762 Reviewed-By: James M Snell <jasnell@gmail.com>
There were no tests confirming situations where server.connections should return `null`. Add a test for that situation. Expand existing server.connection test slightly to check value. Refactor (mostly spacing) code for server.connections setter. PR-URL: nodejs#10762 Reviewed-By: James M Snell <jasnell@gmail.com>
There were no tests confirming situations where server.connections should return `null`. Add a test for that situation. Expand existing server.connection test slightly to check value. Refactor (mostly spacing) code for server.connections setter. PR-URL: nodejs#10762 Reviewed-By: James M Snell <jasnell@gmail.com>
|
A backport PR would be required in order for this to land in v6 or v4 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
There were no tests confirming situations where server.connections
should return null. Add a test for that situation.
Expand existing server.connection test slightly to check value.
Refactor (mostly spacing) code for server.connections setter.
Checklist
Affected core subsystem(s)
test net