I am playing around with node.js and socket.io-client. I am trying to connect to a channel that does not exist in order to trigger the event \'connect_failed\' (as specified
they changed the event name. use
reconnect_error
or
connect_error
instead
https://github.com/socketio/socket.io-client/blob/master/lib/socket.js#L27