mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fix unit tests
This commit is contained in:
parent
c6225d614e
commit
6374a641d5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ describe 'EventLogger', ->
|
|||
@start = Date.now()
|
||||
tk.freeze(new Date(@start))
|
||||
@EventLogger = SandboxedModule.require modulePath, requires:
|
||||
"logger-sharelatex": @logger = {error: sinon.stub()}
|
||||
"logger-sharelatex": @logger = {error: sinon.stub(), warn: sinon.stub()}
|
||||
"metrics-sharelatex": @metrics = {inc: sinon.stub()}
|
||||
@channel = "applied-ops"
|
||||
@id_1 = "random-hostname:abc-1"
|
||||
|
|
Loading…
Reference in a new issue