"use strict";var cov_1wd6f9mhef=function(){var path="/Users/josh.burman/Projects/braid/dist/server/test/clientManager.spec.js";var hash="dec2b8f7a8622b8e8aab0d51391e8207859f38ee";var Function=function(){}.constructor;var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/Users/josh.burman/Projects/braid/dist/server/test/clientManager.spec.js",statementMap:{"0":{start:{line:2,column:0},end:{line:2,column:62}},"1":{start:{line:3,column:21},end:{line:3,column:53}},"2":{start:{line:4,column:24},end:{line:4,column:51}},"3":{start:{line:5,column:13},end:{line:5,column:35}},"4":{start:{line:6,column:12},end:{line:6,column:28}},"5":{start:{line:7,column:11},end:{line:7,column:25}},"6":{start:{line:8,column:11},end:{line:8,column:108}},"7":{start:{line:9,column:22},end:{line:9,column:49}},"8":{start:{line:10,column:15},end:{line:10,column:36}},"9":{start:{line:11,column:13},end:{line:11,column:53}},"10":{start:{line:12,column:20},end:{line:12,column:49}},"11":{start:{line:13,column:0},end:{line:18,column:3}},"12":{start:{line:14,column:4},end:{line:17,column:7}},"13":{start:{line:15,column:21},end:{line:15,column:62}},"14":{start:{line:16,column:8},end:{line:16,column:43}}},fnMap:{"0":{name:"(anonymous_0)",decl:{start:{line:13,column:26},end:{line:13,column:27}},loc:{start:{line:13,column:38},end:{line:18,column:1}},line:13},"1":{name:"(anonymous_1)",decl:{start:{line:14,column:30},end:{line:14,column:31}},loc:{start:{line:14,column:42},end:{line:17,column:5}},line:14}},branchMap:{},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},f:{"0":0,"1":0},b:{},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}coverageData.hash=hash;return coverage[path]=coverageData;}();cov_1wd6f9mhef.s[0]++;Object.defineProperty(exports,"__esModule",{value:true});const clientBase_1=(cov_1wd6f9mhef.s[1]++,require("../clients/clientBase"));const clientManager_1=(cov_1wd6f9mhef.s[2]++,require("../clientManager"));var expect=(cov_1wd6f9mhef.s[3]++,require('chai').expect);var sinon=(cov_1wd6f9mhef.s[4]++,require('sinon'));var name=(cov_1wd6f9mhef.s[5]++,'test channel');var data=(cov_1wd6f9mhef.s[6]++,{'client':'test','client_type':'site','user_id':125,'user_type':'user','channel':name});var WebSocketClient=(cov_1wd6f9mhef.s[7]++,require('websocket').client);var wsClient=(cov_1wd6f9mhef.s[8]++,new WebSocketClient());var client=(cov_1wd6f9mhef.s[9]++,new clientBase_1.default(data,wsClient));let clientManager=(cov_1wd6f9mhef.s[10]++,new clientManager_1.default());cov_1wd6f9mhef.s[11]++;describe('ClientManager',function(){cov_1wd6f9mhef.f[0]++;cov_1wd6f9mhef.s[12]++;it('should add a client',function(){cov_1wd6f9mhef.f[1]++;var result=(cov_1wd6f9mhef.s[13]++,clientManager.addClient(client,wsClient));cov_1wd6f9mhef.s[14]++;expect(result.id).to.be.equal(125);});});//# sourceMappingURL=clientManager.spec.js.map