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