"use strict";var cov_2ekv66b3zw=function(){var path="/Users/josh.burman/Projects/braid/dist/server/test/channelManager.spec.js";var hash="225e33fb3812be07ed9627335332eb61fce0a461";var Function=function(){}.constructor;var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/Users/josh.burman/Projects/braid/dist/server/test/channelManager.spec.js",statementMap:{"0":{start:{line:2,column:0},end:{line:2,column:62}},"1":{start:{line:3,column:25},end:{line:3,column:53}},"2":{start:{line:4,column:13},end:{line:4,column:35}},"3":{start:{line:5,column:12},end:{line:5,column:28}},"4":{start:{line:6,column:11},end:{line:6,column:25}},"5":{start:{line:7,column:11},end:{line:7,column:108}},"6":{start:{line:8,column:21},end:{line:8,column:51}},"7":{start:{line:9,column:0},end:{line:14,column:3}},"8":{start:{line:10,column:4},end:{line:13,column:7}},"9":{start:{line:11,column:22},end:{line:11,column:56}},"10":{start:{line:12,column:8},end:{line:12,column:45}}},fnMap:{"0":{name:"(anonymous_0)",decl:{start:{line:9,column:32},end:{line:9,column:33}},loc:{start:{line:9,column:44},end:{line:14,column:1}},line:9},"1":{name:"(anonymous_1)",decl:{start:{line:10,column:34},end:{line:10,column:35}},loc:{start:{line:10,column:46},end:{line:13,column:5}},line:10}},branchMap:{},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":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_2ekv66b3zw.s[0]++;Object.defineProperty(exports,"__esModule",{value:true});const channelManager_1=(cov_2ekv66b3zw.s[1]++,require("../channelManager"));var expect=(cov_2ekv66b3zw.s[2]++,require('chai').expect);var sinon=(cov_2ekv66b3zw.s[3]++,require('sinon'));var name=(cov_2ekv66b3zw.s[4]++,'test channel');var data=(cov_2ekv66b3zw.s[5]++,{'client':'test','client_type':'site','user_id':125,'user_type':'user','channel':name});let channelManager=(cov_2ekv66b3zw.s[6]++,new channelManager_1.default());cov_2ekv66b3zw.s[7]++;describe('ChannelManagerClass',function(){cov_2ekv66b3zw.f[0]++;cov_2ekv66b3zw.s[8]++;it('should create a channel',function(){cov_2ekv66b3zw.f[1]++;var channel=(cov_2ekv66b3zw.s[9]++,channelManager.createChannel(data));cov_2ekv66b3zw.s[10]++;expect(channel.id).to.be.equal(name);});});//# sourceMappingURL=channelManager.spec.js.map