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