mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 03:40:48 +00:00
[misc] downgrade logging when running tests
This commit is contained in:
parent
6b892e33c0
commit
f40241a037
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
app = require('../../../../app')
|
||||
require("logger-sharelatex").logger.level("info")
|
||||
logger = require("logger-sharelatex")
|
||||
Settings = require("settings-sharelatex")
|
||||
|
||||
|
@ -21,4 +20,4 @@ module.exports =
|
|||
logger.log("clsi running in dev mode")
|
||||
|
||||
for callback in @callbacks
|
||||
callback()
|
||||
callback()
|
||||
|
|
|
@ -12,6 +12,7 @@ describe 'ChannelManager', ->
|
|||
@ChannelManager = SandboxedModule.require modulePath, requires:
|
||||
"settings-sharelatex": @settings = {}
|
||||
"metrics-sharelatex": @metrics = {inc: sinon.stub(), summary: sinon.stub()}
|
||||
"logger-sharelatex": @logger = { log: sinon.stub(), warn: sinon.stub(), error: sinon.stub() }
|
||||
|
||||
describe "subscribe", ->
|
||||
|
||||
|
|
Loading…
Reference in a new issue