mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Tidy up
This commit is contained in:
parent
6bc0d15d78
commit
d42bd2da50
1 changed files with 76 additions and 87 deletions
|
@ -5,7 +5,6 @@ const path = require('path')
|
|||
const sinon = require('sinon')
|
||||
const sinonChai = require('sinon-chai')
|
||||
const { promises } = require('dns')
|
||||
//const fetchMock = require('fetch-mock')
|
||||
|
||||
chai.use(sinonChai)
|
||||
chai.should()
|
||||
|
@ -50,7 +49,6 @@ describe('LoggingManager', function () {
|
|||
this.Fetch = sinon.stub().resolves(this.fetchResponse)
|
||||
this.Fs = {
|
||||
readFile: sinon.stub(),
|
||||
access: sinon.stub(),
|
||||
promises: {
|
||||
readFile: sinon.stub()
|
||||
}
|
||||
|
@ -173,8 +171,6 @@ describe('LoggingManager', function () {
|
|||
|
||||
})
|
||||
|
||||
|
||||
|
||||
describe('when LOG_LEVEL set in env', function () {
|
||||
beforeEach(function () {
|
||||
process.env.LOG_LEVEL = 'trace'
|
||||
|
@ -514,13 +510,6 @@ describe('checkLogLevelMetadata', function () {
|
|||
})
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
describe('ringbuffer', function () {
|
||||
|
|
Loading…
Reference in a new issue