have failed compiles warn rather than be an error

This commit is contained in:
Henry Oswald
2018-11-23 14:52:13 +00:00
parent f1ab938bab
commit 49f3b7d54f
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ describe "CompileController", ->
clsi:
url: "http://clsi.example.com"
"./ProjectPersistenceManager": @ProjectPersistenceManager = {}
"logger-sharelatex": @logger = { log: sinon.stub(), error: sinon.stub(), err:sinon.stub() }
"logger-sharelatex": @logger = { log: sinon.stub(), error: sinon.stub(), err:sinon.stub(), warn: sinon.stub()}
@Settings.externalUrl = "http://www.example.com"
@req = {}
@res = {}