stub out eventlogger in unit test

This commit is contained in:
Brian Gough 2019-03-22 11:19:31 +00:00
parent 6c71ae172b
commit efa83b4cde

View file

@ -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 ->