   client.connect()
 
 setupAndConnect = (options, callback) ->
-  mochacompat.setup options, (err, state) ->
+  mochacompat.setup options, (err, state, httpServer) ->
     return callback err if err
     def =
       protocol: 'websocket'

fbpClient = require 'fbp-protocol-client'
mochacompat = require '../src/mochacompat'
protocol = require '../src/protocol'

testPath = (name) ->
  path = require 'path'

    client = new Transport def

    connectClient client, (err, def) ->
      return callback err, client, def, state, httpServer

# FIXME: move to protocol

