mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 03:40:48 +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 = {}
|
@rclient = {}
|
||||||
"./SafeJsonParse": @SafeJsonParse =
|
"./SafeJsonParse": @SafeJsonParse =
|
||||||
parse: (data, cb) => cb null, JSON.parse(data)
|
parse: (data, cb) => cb null, JSON.parse(data)
|
||||||
|
"./EventLogger": @EventLogger = {checkEventOrder: sinon.stub()}
|
||||||
|
|
||||||
describe "listenForUpdatesFromDocumentUpdater", ->
|
describe "listenForUpdatesFromDocumentUpdater", ->
|
||||||
beforeEach ->
|
beforeEach ->
|
||||||
|
|
Loading…
Reference in a new issue