 mochacompat = require '../src/mochacompat'
 protocol = require '../src/protocol'
 testsuite = require '../src/testsuite'
+runner = require '../src/runner'
 
 testPath = (name) ->
   path = require 'path'

describe 'Mocha compatibility runner', ->
  httpServer = null
  definition = null

  afterEach () ->
    if httpServer
      httpServer.close()

  it 'should implement the FBP runtime protocol', (done) ->
    options =

  client.on 'status', onStatus
  client.connect()

runtimeDefinition = (options) ->
  def =
    protocol: 'websocket'
    address: "ws://localhost:#{options.port}"
  return def

setupAndConnect = (options, callback) ->
  mochacompat.setup options, (err, state, httpServer) ->
    return callback err if err
    def = runtimeDefinition options
    Transport = fbpClient.getTransport def.protocol
    client = new Transport def

