mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
disabled logging during acceptance test execution
GitOrigin-RevId: 185077cc0f0c8791bc063bd8da6dd755f94c74d6
This commit is contained in:
committed by
sharelatex
parent
bebd0f25e6
commit
df026f9f81
@@ -1,11 +1,10 @@
|
||||
// TODO: This file was created by bulk-decaffeinate.
|
||||
// Sanity-check the conversion and remove this comment.
|
||||
/*
|
||||
* decaffeinate suggestions:
|
||||
* DS102: Remove unnecessary code created because of implicit returns
|
||||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
||||
*/
|
||||
const App = require('../../../app.js')
|
||||
require('logger-sharelatex').logger.level('error')
|
||||
const { logger } = require('logger-sharelatex')
|
||||
|
||||
before(done => App.listen(3000, 'localhost', done))
|
||||
|
||||
beforeEach(() => {
|
||||
// log level is reset in several places throughout the code, can't be set
|
||||
// in a single global `before` step
|
||||
logger.level('fatal')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user