Skip to content

Commit

Permalink
server: correct failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Apr 4, 2019
1 parent 5f34150 commit a4e3da0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/server/test/integration/http_requests_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,6 @@ describe "Routes", ->
expect(res.body).to.include("The error was:")
expect(res.body).to.include("connect ECONNREFUSED 127.0.0.1:64644")
expect(res.body).to.include("The stack trace was:")
expect(res.body).to.include("_exceptionWithHostPort")
expect(res.body).to.include("TCPConnectWrap.afterConnect")
expect(res.body).to.include("<html>\n<head> <script")
expect(res.body).to.include("</script> </head> <body>")
Expand All @@ -1270,7 +1269,6 @@ describe "Routes", ->
expect(res.body).to.include("The error was:")
expect(res.body).to.include("connect ECONNREFUSED 127.0.0.1:64644")
expect(res.body).to.include("The stack trace was:")
expect(res.body).to.include("_exceptionWithHostPort")
expect(res.body).to.include("TCPConnectWrap.afterConnect")
expect(res.body).not.to.include("<html>\n<head> <script")
expect(res.body).not.to.include("</script> </head> <body>")
Expand Down
1 change: 0 additions & 1 deletion packages/server/test/integration/server_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ describe "Server", ->
@server._onResolveUrl("http://localhost:64646", {}, @automationRequest)
.catch (err) ->
expect(err.message).to.eq("connect ECONNREFUSED 127.0.0.1:64646")
expect(err.stack).to.include("._errnoException")
expect(err.port).to.eq(64646)
expect(err.code).to.eq("ECONNREFUSED")

Expand Down

0 comments on commit a4e3da0

Please sign in to comment.