Open nate250 opened 9 years ago
I tweaked the ng-websocket guts to use $interval and $timeout. This should allow for smoother unit testing - both for ng-websocket itself (as demonstrated) and for projects that use it.
Hi @nate250 and thanks for contributing! Let me ask you just a question: https://github.com/wilk/ng-websocket/pull/9#discussion_r21797639
I tweaked the ng-websocket guts to use $interval and $timeout. This should allow for smoother unit testing - both for ng-websocket itself (as demonstrated) and for projects that use it.