Merge pull request #1837 from overleaf/msm-revert-commit-by-error-master

Revert "disabled logging during acceptance test execution"

GitOrigin-RevId: 5d613ef0abeb00b2c4b42a660fac95876aebcd46
This commit is contained in:
Miguel Serrano 2019-06-03 11:22:36 +02:00 committed by sharelatex
parent df026f9f81
commit 9226237a36

View file

@ -1,10 +1,11 @@
// 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')
const { logger } = require('logger-sharelatex')
require('logger-sharelatex').logger.level('error')
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')
})