mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 03:00:56 +00:00
stub out eventlogger in unit test
This commit is contained in:
parent
6c71ae172b
commit
efa83b4cde
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ describe "DocumentUpdaterController", ->
|
|||
@rclient = {}
|
||||
"./SafeJsonParse": @SafeJsonParse =
|
||||
parse: (data, cb) => cb null, JSON.parse(data)
|
||||
"./EventLogger": @EventLogger = {checkEventOrder: sinon.stub()}
|
||||
|
||||
describe "listenForUpdatesFromDocumentUpdater", ->
|
||||
beforeEach ->
|
||||
|
|
Loading…
Reference in a new issue