Skip to content

Instantly share code, notes, and snippets.

@andyhasit
Last active August 29, 2015 14:23
Show Gist options
  • Save andyhasit/131acfebde60fe03f0b0 to your computer and use it in GitHub Desktop.
Save andyhasit/131acfebde60fe03f0b0 to your computer and use it in GitHub Desktop.
MyWebSocket
angular.module('turboshell').factory('MyWebSocket', function() {
/*
This only exists so I can mock it. You can mock it too. Haha, look at it! It's so tiny! Hahahahhha!
*/
return WebSocket;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment