DaftMonk/fullstack-demo

View on GitHub
client/components/socket/socket.mock.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

angular.module('socketMock', [])
  .factory('socket', function() {
    return {
      socket: {
        connect: function() {},
        on: function() {},
        emit: function() {},
        receive: function() {}
      },

      syncUpdates: function() {},
      unsyncUpdates: function() {}
    };
  });