mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Mock out logger in tests
This commit is contained in:
parent
7b8e9963e8
commit
65eaf0ad10
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ describe "ResourceWriter", ->
|
|||
"./UrlCache" : @UrlCache = {}
|
||||
"mkdirp" : @mkdirp = sinon.stub().callsArg(1)
|
||||
"./OutputFileFinder": @OutputFileFinder = {}
|
||||
"logger-sharelatex": {log: sinon.stub(), err: sinon.stub()}
|
||||
"./Metrics": @Metrics =
|
||||
Timer: class Timer
|
||||
done: sinon.stub()
|
||||
|
|
Loading…
Reference in a new issue