mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
fix whitespace
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = ChannelManager =
|
||||
else
|
||||
# get the subscribe promise and return it, the actual subscribe
|
||||
# completes in the background
|
||||
subscribePromise = rclient.subscribe channel
|
||||
subscribePromise = rclient.subscribe channel
|
||||
existingChannelSet.set(channel, subscribePromise)
|
||||
logger.log {channel}, "subscribed to new channel"
|
||||
metrics.inc "subscribe.#{baseChannel}"
|
||||
|
||||
@@ -16,7 +16,7 @@ describe 'RoomManager', ->
|
||||
@RoomManager._clientsInRoom = sinon.stub()
|
||||
@RoomEvents = @RoomManager.eventSource()
|
||||
sinon.spy(@RoomEvents, 'emit')
|
||||
sinon.spy(@RoomEvents, 'once')
|
||||
sinon.spy(@RoomEvents, 'once')
|
||||
|
||||
describe "joinProject", ->
|
||||
|
||||
@@ -152,7 +152,7 @@ describe 'RoomManager', ->
|
||||
describe "when this is the only client connected", ->
|
||||
|
||||
beforeEach (done) ->
|
||||
# first call is for the join,
|
||||
# first call is for the join,
|
||||
# second for the leave
|
||||
@RoomManager._clientsInRoom
|
||||
.withArgs(@client, @doc_id)
|
||||
|
||||
Reference in New Issue
Block a user