This commit is contained in:
Christopher Hoskin 2020-07-24 12:17:31 +01:00
parent 6bc0d15d78
commit d42bd2da50

View file

@ -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'
@ -416,7 +412,7 @@ describe('LoggingManager', function () {
})
})
describe('checkLogLevelMetadata', function () {
describe('checkLogLevelMetadata', function () {
beforeEach(function () {
this.logger = this.LoggingManager.initialize(this.loggerName)
})
@ -514,13 +510,6 @@ describe('checkLogLevelMetadata', function () {
})
})
})
})
describe('ringbuffer', function () {