test: http request - url.parse
Checklist
-
tests and code linting passes -
a test and/or benchmark is included -
the commit message follows commit guidelines
Affected core subsystem(s)
Description of change
http.request does the url.parse
if the parameter is of type string.
So, whenever possible, the tests should let the http module's -
request()
method to do the url.parse()
.