mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 08:51:30 +00: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