Feature: allow mocking a web socket connection
Opened this issue · 2 comments
bksantiago commented
Do you intend to support this in the near future?
mdasberg commented
Of course that would be an option. I will have to look into it. Do you have any implementation ideas?
basvermeulen commented
I needed websocket mocking functionality as well, so I forked this repo and added the functionality.
I have to say, my implementation is quite quick and dirty still, but functions as a nice proof of concept.
Ideally I would like to integrate this in the new ng-apimock core branch. @mdasberg I you want, you can have a look at my implementation. The most interesting part I guess, is the test/mocks folder, the rest is just implementation detail.