mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
Use WHATWG URL API instead of url.parse() (#4852)
* replace url.parse with new whatwg url api * remove comments * use const instead of var Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -706,7 +706,7 @@ describe('supports http with nodejs', function () {
|
||||
}).listen(socketName, function () {
|
||||
axios({
|
||||
socketPath: socketName,
|
||||
url: '/'
|
||||
url: 'http://localhost:4444/socket'
|
||||
})
|
||||
.then(function (resp) {
|
||||
assert.equal(resp.status, 200);
|
||||
|
||||
Reference in New Issue
Block a user