disabled logging during acceptance test execution

GitOrigin-RevId: 185077cc0f0c8791bc063bd8da6dd755f94c74d6
This commit is contained in:
Miguel Serrano 2019-05-31 16:22:59 +02:00 committed by sharelatex
parent bebd0f25e6
commit df026f9f81

View file

@ -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')
})