A mock to test the socket.io library implementation.
🚀 Now written in ES6! Bundled with
NEW! Added support for disconnect() and close()
npm install socket.io-mock
Simply create new socket mock with:
;let socket = ;
And use the socket as if it was a normal Socket.io socket.