lib/server_instance.js
function () {
    var self = this;

    this.server.on('message', function (message) {
      switch (message.type) {
        case 'readyForTests':
          self.emit('readyForTests');
          break;
        default:
          self.runner.send(message);
      }
    });
  }
function () {
    var self = this;

    this.server.on('message', function (message) {
      switch (message.type) {
        case 'readyForTests':
          self.emit('readyForTests');
          break;
        default:
          self.runner.send(message);
      }
    });
  }
ServerInstance._setupListeners()