mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
stub out project flusher for unit tests
This commit is contained in:
parent
4b8a27a220
commit
e57741cb80
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ describe "HttpController", ->
|
|||
flushProjectChangesAsync: sinon.stub()
|
||||
"./ProjectManager": @ProjectManager = {}
|
||||
"logger-sharelatex" : @logger = { log: sinon.stub() }
|
||||
"./ProjectFlusher": {flushAllProjects:->}
|
||||
"./Metrics": @Metrics = {}
|
||||
"./Errors" : Errors
|
||||
@Metrics.Timer = class Timer
|
||||
|
|
Loading…
Reference in a new issue