mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix whitespace
This commit is contained in:
parent
159b39c491
commit
61b3a000b4
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue