mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:03:42 -05:00
fix broken tests
This commit is contained in:
parent
7a7f1aed91
commit
bbd88e75eb
1 changed files with 0 additions and 6 deletions
|
@ -560,12 +560,6 @@ describe 'WebsocketController', ->
|
||||||
it "should call the callback", ->
|
it "should call the callback", ->
|
||||||
@callback.called.should.equal true
|
@callback.called.should.equal true
|
||||||
|
|
||||||
it "should update the active users metric", ->
|
|
||||||
@metrics.set.calledWith("editor.active-users", @user_id).should.equal true
|
|
||||||
|
|
||||||
it "should update the active projects metric", ->
|
|
||||||
@metrics.set.calledWith("editor.active-projects", @project_id).should.equal true
|
|
||||||
|
|
||||||
it "should increment the doc updates", ->
|
it "should increment the doc updates", ->
|
||||||
@metrics.inc.calledWith("editor.doc-update").should.equal true
|
@metrics.inc.calledWith("editor.doc-update").should.equal true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue