Currently, I´m working on a tool which shows the current price of one Bitcoin. Every minute, the price is updating with making a request with SocketIO which emits then the current price.
Now my issue is that I want to test the connection of the socket server and if it is receiving any request and if it is returning something but I actually don´t know how to do this.
I want to know this to create a better test "application" and to create "real" tests of this application with Travis CI.
Could someone help me there, please?
~ Julian Yaman
P.S.: Maybe you should checkout my repository to know what I´m talking about. (just in case)