Skip to content

Commit

Permalink
Just pass in the full URL for sendHttpRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
rachaelshaw committed May 24, 2019
1 parent 0b43d86 commit fd20a5f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/serve-client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ describe('with `serveClient` config enabled', function (){

// Send an HTTP request and receive the response.
Http.sendHttpRequest({
url: '/socket.io/socket.io.js',
baseUrl: 'http://localhost:1600',
url: 'http://localhost:1600/socket.io/socket.io.js',
method: 'get'
}).switch({
// An unexpected error occurred.
Expand All @@ -84,8 +83,7 @@ describe('with `serveClient` config enabled', function (){

// Send an HTTP request and receive the response.
Http.sendHttpRequest({
url: '/socket.io/socket.io.js',
baseUrl: 'http://localhost:1601',
url: 'http://localhost:1601/socket.io/socket.io.js',
method: 'get'
}).switch({
// An unexpected error occurred.
Expand Down

0 comments on commit fd20a5f

Please sign in to comment.